Download presentation
Presentation is loading. Please wait.
1
RAC Backup and Recovery Lab
2
1. Perform an Off-line Backup
Open a command line window and enter the following commands set ORACLE_SID=MSnDB1 C:\oracle\product\10.2.0\db_1\bin\rman target system/password Shutdown immediate; Startup mount; Allocate channel c1 device type disk format ‘C:\oracle\admin\MSnDB\backup_U%’; Backup database; Alter database open; Exit;
3
2. Perform an On-line Backup
Open a command line window and enter the following commands C:\oracle\product\10.2.0\db_1\bin\rman target 1 Allocate channel c1 device type disk format ‘C:\oracle\admin\MSnDB\backup_U%’; Configure controlfile autobackup on; Backup database plus archivelog; Exit;
4
3. Flashback Recovery Start a sqlplus session logged in as sys as sysdba, and enter the following commands Create table test (field1 varchar(10), field2 varchar2(10)) Tablespace users; Insert into test Values (‘TEST1’, ‘TEST2’); Select * from test; Drop table test; Flashback table test to before drop;
5
© 2005 Microsoft Corporation. All rights reserved.
This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.