[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

oralce rman script to make a cold backup of 9i database



 
    
oralce rman script to make a cold backup of 9i database
-------------------------------------------------------

# 9i.rcv
# This is an AUTOMATICALLY GENERATED RMAN script for Oracle 9 to 
# cold backup the 9i database including controlfile, datafiles and 
# archive redo logs to disk (no Legato tape option is available yet).
# No recovery catalog is currently used, due to current semaphore
# limitations on some machines.

shutdown immediate;
startup mount;
run {

allocate channel c1 type disk;
backup
        tag Full_9i_daily
        format '/oracle/9i/full/9i/Full_%d_%s_%p_%t'
        (database);
release channel c1;

configure controlfile autobackup format for device type disk to '/oracle/9i/full/9i/Auto_Ctrl_%F';
configure controlfile autobackup on;

allocate channel c1 type disk;
backup
        format '/oracle/9i/full/9i/Archive_%d_%s_%p_%t'
        (archivelog all );
release channel c1;

configure controlfile autobackup off;

}
startup;


Google