In each database, I ran the following:
SHUTDOWN IMMEDIATE;
STARTUP MOUNT EXCLUSIVE;
ALTER DATABASE NOARCHIVELOG;
ALTER DATABASE OPEN;
Once done, I adjusted the generic rman backup script to be geared toward NOARCHIVELOG mode - a cold backup:
run{
configure backup optimization on;
sql 'alter system switch logfile';
shutdown immediate;
startup mount;
allocate channel backup_disk1 type disk format '%U.rman';
backup as compressed backupset database include current controlfile tag 'COLD_BACKUP';
crosscheck backupset;
delete noprompt expired backupset;
release channel backup_disk1;
sql 'alter database open';
}
No comments:
Post a Comment