rman backup archive to disk and purge

Oracle Tips and Tricks
Post Reply
thockman
Site Admin
Posts: 104
Joined: Thu Dec 15, 2005 5:51 pm
Location: Kansas City
Contact:

rman backup archive to disk and purge

Post by thockman » Mon Dec 29, 2014 10:53 am

Was running low on archive log asm space and didn't have any information on netbackup so I did this for a quick way to free up space.

run {
allocate channel ch001 device type disk;
allocate channel ch002 device type disk;
allocate channel ch003 device type disk;
allocate channel ch004 device type disk;
backup as compressed backupset archivelog all not backed up 1 times delete input
TAG 'temp_dev1_arc' FORMAT '/opt/oracle/temp_arc/dev1_%t_%s_%r.arc';
release channel ch001;
release channel ch002;
release channel ch003;
release channel ch004;
}

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest