Search Oracle Blogs

List of Blogs maintained by Paweł Barut.


Friday, October 06, 2006

RMAN connection to Catalog

Today my nightly backups were not taken. I had an OS script that started backup using this command:
rman target=sysop/password@targetdb catalog=rman/password@catdb 
      log=rman.log append @rman.txt
The reason was that network was down and there was no connection to catdb. It leaded to error and RMAN did not start at all. So I’ve changed my command line to:
rman target=sysop/password@targetdb 
      log=rman.log append @rman.txt
And added a line in rman.txt
connect catalog rman/password@catdb;
Next time there will be no connection to catdb backup will be done anyway. It will be not registered in catalog only. Catalog will be synchronized on next backup procedure or next time you connect to target and catalog an issue any command that operate on catalog.

Cheers, Paweł

1 comment:

Paweł Barut said...

Solution described above is not working. Take a look at updated solution RMAN connection to Catalog - updated

 

Copyright © Paweł Barut
Printing from DOS to USB Printer