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;
}
rman backup archive to disk and purge
Who is online
Users browsing this forum: No registered users and 0 guests