run
{
allocate channel c1 type disk;
allocate channel c2 type disk;
backup database format '/u01/app/oracle/backup/rman/%d_%s_%p_%U.bkp';
backup archivelog all format '/u01/app/oracle/backup/rman/ARCH_%d_%s_%p_%U.bkp';
backup current controlfile for standby format '/u01/app/oracle/backup/rman/control_%d_%U.bkp';
}
{
allocate channel c1 type disk;
allocate channel c2 type disk;
backup database format '/u01/app/oracle/backup/rman/%d_%s_%p_%U.bkp';
backup archivelog all format '/u01/app/oracle/backup/rman/ARCH_%d_%s_%p_%U.bkp';
backup current controlfile for standby format '/u01/app/oracle/backup/rman/control_%d_%U.bkp';
}
0 comments:
Post a Comment