X

Alejandro Vargas' Blog

  • March 7, 2007

Rman RAC Backup Script

Alejandro Vargas
Technical Leader, ACS Global Delivery, Infrastructure & BigData

This is another simpler version of  Backup of RAC with ASM to File System.

I'm using this script to make backup as copy of the database and the archived logs required to startup and recover the database.

The backup is copied to another server once a week, there I do recreate the controlfile and rename the database.

This script do check the existing sequences for both instances before starting and after finishing the backup. Then it does a backup as copy of all archived logs between the initial and end sequences registered for both threads. That way the database and all archived logs that are required to recover it are placed on the same backup destination, ready to be ftp'ed to the remote server.


Join the discussion

Comments ( 3 )
  • Kristofer Spinka Wednesday, March 7, 2007
    Great script! Can this type of RMAN scenario be used with an online database in NOARCHIVELOG mode?
  • Alejandro Vargas Wednesday, March 7, 2007
    Rman cannot backuo a database that is not in archive log and open. The database should be mounted to be backed up by Rman.
  • Pedro Gutierrez Friday, March 9, 2007
    Can backup "COMPRESS" and copy only data in datafiles ?
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.