Tuesday, May 26, 2015

Backup archivelogs to the new location in Oracle 11g

run{
allocate channel d1 type disk;
allocate channel d2 type disk;
allocate channel d3 type disk;
backup tag 'DISK_ARCH' as compressed backupset archivelog all format '/data02/oracle/24052015/rman_arch_%s_%d_%D_%U.arc';
release channel d1;
release channel d2;
release channel d3;
}

No comments:

Post a Comment