Quantcast
Channel: Symantec Connect - Backup and Recovery - Discussions
Viewing all articles
Browse latest Browse all 6282

Backing up Oracle databases configured using Data Guard

$
0
0
I need a solution

Ok, so I'm not huge into Netbackup (NBU), or Oracle, but our backup group has been dragged into issue, and I have been recruited to help solve it.

 

We are running NetBackup 7.6.0.1.  Its going mostly well.  We are doing file level backups successfully, and oracle backups successfully using our RMAN catalog and such.

 

However, we have recently been tasked to back up an Oracle database that has been configured with data guard.  This means this:

 

  • There are two databases, with two different SIDs
  • The databases are identical, configured as such that if one database fails, the other database covers as a failover database
  • One database is the Primary database, and one is set as the Standby database

We have NetBackup set up to backup both databases.  When the backups run, the Primary database succeeds with no issues.  The secondary database fails with

(5407) Database is in the wrong state (must be OPEN) for the requested action

So, here are the difficulties:

 

  1. Netbackup requires an instance name when setting up a oracle instance for backup - which should be equal to the SID.  We could just rely on our TNSNAMES.ora file to connect to the proper instance, but since NBU requires the SID when setting up the instance, and the primary and standby databases have different SIDs we cannot rely on the TNSNAME alone
  2. We don't manage the databases set up in the data guard configuration, so there is no way to tell if a failover event occurs until we get a failed backup on the main backup, which is not ideal

 

There should be a way to have one policy in NetBackup that covers this Oracle DB setup.  We should be able to back up whatever database is currently the "Primary" without worrying about ORACLE_SIDs.

 

Let me know if I need to provide more info for this issue to be discussed.


Viewing all articles
Browse latest Browse all 6282

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>