martes, 26 de abril de 2016

BACKUP RECOVERY AREA

    rman target / log=$archivolog/log_rman_recovery_area_$ORACLE_SID_$fecha.log  <run {
    allocate channel ch1 device type disk;
    BACKUP RECOVERY AREA TO DESTINATION '/u02/backups/rman/$ORACLE_SID/$fecha' TAG= 'BACKUP RECOVERY AREA FS';
    }
    EOF


    RMAN> backup recovery area to destination '/u01/app/oracle/backup';

    Starting backup at 01-SEP-18
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archived log backup set
    channel ORA_DISK_1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=8 RECID=4 STAMP=985557093
    input archived log thread=1 sequence=9 RECID=5 STAMP=985558812
    input archived log thread=1 sequence=10 RECID=6 STAMP=985558989
    input archived log thread=1 sequence=11 RECID=7 STAMP=985576474
    input archived log thread=1 sequence=12 RECID=8 STAMP=985611613
    input archived log thread=1 sequence=13 RECID=9 STAMP=985644352
    input archived log thread=1 sequence=14 RECID=10 STAMP=985672841
    input archived log thread=1 sequence=15 RECID=11 STAMP=985683660
    input archived log thread=1 sequence=16 RECID=12 STAMP=985686332
    input archived log thread=1 sequence=17 RECID=13 STAMP=985686505
    input archived log thread=1 sequence=18 RECID=14 STAMP=985690934
    input archived log thread=1 sequence=19 RECID=15 STAMP=985690996
    input archived log thread=1 sequence=20 RECID=16 STAMP=985691388
    channel ORA_DISK_1: starting piece 1 at 01-SEP-18

No hay comentarios: