SCRIPT TO TAKE ARCHIVE BACKUP TO TAPE AND DELETE INPUT
This script is handy when you are having space challenge in your storage either +asm or filesyste.
First connect to the target database and then to the catalog database.
crosscheck archivelog all;
resync catalog;
run {
allocate channel c1 TYPE 'sbt_tape';
allocate channel c2 TYPE 'sbt_tape';
allocate channel c3 TYPE 'sbt_tape';
backup archivelog all delete input;
release channel c1;
release channel c2;
release channel c3;
}
First connect to the target database and then to the catalog database.
crosscheck archivelog all;
resync catalog;
run {
allocate channel c1 TYPE 'sbt_tape';
allocate channel c2 TYPE 'sbt_tape';
allocate channel c3 TYPE 'sbt_tape';
backup archivelog all delete input;
release channel c1;
release channel c2;
release channel c3;
}
Comments
Post a Comment