In this document, I discussed how to take backup (source) and recover (target/other m/c) the database
in different machine in NOARCHIVE MODE.
Following are two important parameters which need to set accordingly.
Alter System Set
db_recovery_file_dest_size=20G scope=both
/
Alter System Set
db_recovery_file_dest= ''F:\oracle\product\10.2.0\flash_recovery_area'' scope=both
/
Taking Backup (RMAN)
1. Shut down Database
Sql> Shutdown immediate;
2. Startup database in MOUNT mode.
Sql> Startup Mount;
3. Now start RMAN (by typing RMAN at command prompt)
C:> RMAN TARGET /
4. Check the configuration
RMAN> SHOW ALL;
5. Check for default device and CONTROLFILE AUTOBACKUP parameters.
Default Device should be DISK (if backup is on harddisk)
CONTROLFILE AUTOBACKUP should be ON; (This command will take the control files and spfile auto backup).
Execute below statements
RMAN>CONFIGURE DEFAULT DEVICE TYPE TO DISK;
RMAN>CONFIGURE CONTROLFILE AUTOBACKUP On;
6. Take the backup
RMAN> BACKUP DATABASE;
Tuesday, February 17, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment