› Fóruns › Banco de dados Oracle › RMAN – Recover para Standby › RMAN – Recover para Standby
Ok entendi… 8)
Vamos ver se entendi:
Primeiramente vou executar um backup full, depois de X horas eu executo o script enviado pelo Drbs para complementar meus backups.
1 – Script do backup full:
crosscheck backup;
delete noprompt expired backup;
backup as compressed backupset database;
backup current controlfile for standby;
exit;
2 – Script dos backups archives:
run {
allocate channel t1 type disk format '/oracle/bk/BKP_AVULSO_ONLINE_%d_%t_%s.rman';
allocate channel t2 type disk format '/oracle/bk/BKP_AVULSO_ONLINE_%d_%t_%s.rman';
allocate channel t3 type disk format '/oracle/bk/BKP_AVULSO_ONLINE_%d_%t_%s.rman';
allocate channel t4 type disk format '/oracle/bk/BKP_AVULSO_ONLINE_%d_%t_%s.rman';
allocate channel t5 type disk format '/oracle/bk/BKP_AVULSO_ONLINE_%d_%t_%s.rman';
allocate channel t6 type disk format '/oracle/bk/BKP_AVULSO_ONLINE_%d_%t_%s.rman';
allocate channel t7 type disk format '/oracle/bk/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;
}
Está certo?