Notes
GENERACION DE BACKUPS
Content of the notes (1)
Page 1
Backup de PROD incremental
conneccatalog rman/cat@rman;
connect target sys/G2sI6Yvx0xL0thuw6M34@PROD;
resync catalog;
crosscheck archivelog all;
run {
allocate channel t1 type 'SBT_TAPE';
send 'NSR_ENV=(NSR_SERVER=upao12.int.upao.edu.pe)';
backup archivelog all delete input filesperset 5 format '/al_%d_%s_%p_%t/' tag 'PROD Nivel 0 - Archive Logs';
release channel t1;
}
Backup de PROD full
connect catalog rman/cat@rman;
connect target sys/G2sI6Yvx0xL0thuw6M34@PROD;
resync catalog;
crosscheck archivelog all;
run {
allocate channel t1 type 'SBT_TAPE';
send 'NSR_ENV=(NSR_SERVER=upao12.int.upao.edu.pe)';
backup archivelog all delete input filesperset 5 format '/al_%d_%s_%p_%t/' tag 'PROD Nivel b0 - Archive Logs';
backup database filesperset 5 format '/df_%d_%s_%p_%t/' tag 'PROD full - Datafiles'; #uses automatic channels to make backup
sql 'alter system archive log current'; #switches logs and archives all logs
backup archivelog all delete input filesperset 5 format '/al_%d_%s_%p_%t/' tag 'PROD Nivel a0 - Archive Logs';
release channel t1;
}
Information
- Description
- ORACLE DBA ORACLE DBA Note on GENERACION DE BACKUPS, created by Alex Andrei Juarez Goicochea on 18/04/2017.
- Created by
- Alex Andrei Juarez Goicochea
- Views
- 1
- Rating