We are using TSM/TDPO SBT to backup Oracle Databases. When using Oracle Data Guard with TDPO, what is the best strategy to ensure backups continue after failover/switchover?
TSM/TDPO uses a feature called datamove which makes sure that backups from primary and standby are moved to one TSM node. (TSM node A (primary) and B (standby) move there Backups to C. Restore will use C).
The RMAN scripts called by TDPO need a logic to prevent backups are taken from both (primary and standby). This could be done by querying the role of the database.
Oracle Data Guard Backup – How to Backup Oracle Data Guard with TDPO
backupdataguardoracle
Related Question
- Oracle Data Guard – redo logs not in chronological order
- Oracle – Error Duplicating Database After Failover Using RMAN
- Scheduling Backup Jobs for an Availability Group in SQL Server 2014
- Setting DataGuardSyncLatency for Oracle Data Guard
- Oracle Data Guard Error – Troubleshooting Guide
- Oracle – How to Backup Database Without Disrupting Regular Backup Cycle
- Oracle data Guard status (active/passive)- version 11g
Best Answer
Use RMAN catalog, because without a catalog, backups taken on one site do not appear in the controlfile of the database on the other site. You need a centralized catalog for backups in a Data Guard configuration.
Use role-based services, and TNS entries with connect-time failover, using these services. Use these TNS entries for logging in to the database when performing backups. This way you always log in to the primary/standby database, and you do not need to check for the role of the database.
The database/RMAN layer has nothing to do with. Just configure TSM and TDPO properly, and this will be transparent for the database, always using the same
tdpo.opt
file.No, see above, role-based services, connect-time failover TNS entries.