Pular para o conteúdo

Fóruns Banco de dados Oracle RMAN – Recover para Standby RMAN – Recover para Standby

#88146
David Siqueira
Participante

    Faltou você mandar os archives também parceiro, assim quando ele for fazer os passos do restore database e recover database não faltara nenhuma informação, tente assim :

    run {
    allocate channel t1 type disk format '/u03/backup/BKP_AVULSO_ONLINE_%d_%t_%s.rman';
    allocate channel t2 type disk format '/u03/backup/BKP_AVULSO_ONLINE_%d_%t_%s.rman';
    allocate channel t3 type disk format '/u03/backup/BKP_AVULSO_ONLINE_%d_%t_%s.rman';
    allocate channel t4 type disk format '/u03/backup/BKP_AVULSO_ONLINE_%d_%t_%s.rman';
    allocate channel t5 type disk format '/u03/backup/BKP_AVULSO_ONLINE_%d_%t_%s.rman';
    allocate channel t6 type disk format '/u03/backup/BKP_AVULSO_ONLINE_%d_%t_%s.rman';
    allocate channel t7 type disk format '/u03/backup/BKP_AVULSO_ONLINE_%d_%t_%s.rman';
    backup duration 05:00 minimize time incremental level 0 database include current controlfile
    spfile
    tag 'BKP_AVULSO_ONLINE';
    sql 'alter system archive log current';
    backup archivelog all tag 'BKP_AVULSO_ARCHIVES';
    release channel t1;
    release channel t2;
    release channel t3;
    release channel t4;
    release channel t5;
    release channel t6;
    release channel t7;
    }

    Abraços