rman catalog resync
806464Nov 1 2010 — edited Nov 1 2010Hi,
I have couple of questions regarding rman. Catalog is 10g and target is 9i.
1. we have a log file which records all the activities that rman does. we are running the below script using netbackup policies...
rman target / <<EOF
RUN {
ALLOCATE CHANNEL ch00 DEVICE TYPE 'SBT_TAPE' parms 'ENV=($SENDSTR)';
ALLOCATE CHANNEL ch01 DEVICE TYPE 'SBT_TAPE' parms 'ENV=($SENDSTR)';
BACKUP DATABASE;
BACKUP ARCHIVELOG ALL NOT BACKED UP 2 TIMES;
DELETE NOPROMPT ARCHIVELOG UNTIL TIME 'SYSDATE-3' backed up 2 times to device type SBT_TAPE;
RELEASE CHANNEL ch00;
RELEASE CHANNEL ch01;
}
EXIT;
rman target / catalog $TARGET_CONNECT_STR
resync catalog;
EXIT;
We can see all the activities in the log for the first run block and no log for the second connection using the catalog.
so not quite sure..whether connection is happening or not..sync is happening or not..how to check it?
2. For what all RMAN commands, resync between catalog and controlfile takes place automatically?
Please advise.
thanks,
DB