?
Solved

Syncing RMAN catalog and Veritas Netbackup

Posted on 2008-10-21
6
Medium Priority
?
2,082 Views
Last Modified: 2012-05-05
I'm looking for a way to sync the RMAN catalog with Veritas Netbackup records.

In our environment, entries in the RMAN catalog go back for several years even though the backups have long expired in Netbackup.

If I do a 'delete obsolete' in RMAN, Netbackup will be out of whack.

What is the best way to keep them in sync?

Thank you.
0
Comment
Question by:doberboy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
6 Comments
 
LVL 6

Expert Comment

by:peter991
ID: 22774993
Hi!
I guess you have to work with your retention-policies.
I'm not sure there is a NB-command that crosscheck RMAN catalogue and Netbackup and delete the records on tape.

"A couple of things to note. I only have 1 NetBackup policy of Oracle type assigned to this server by my Veritas NetBackup admin. Also, that policy is set to infinite retention so that RMAN controls when it wants to delete expired / obsolete backups by allocating a channel "for maintenance device type SBT_TAPE. A good practice is working with your NetBackup admin in order to configure your policy. You could also define multiple policies so he can more easily identify which backups to send offsite. The only problem with this approach, and its very minor at that, is that you will have to explicitly define your Oracle type NetBackup Policy when you do your backups."

http://www.oraclerant.com/?p=29

I have only worked with Netbackup 4.5 and lower.
Normal rutin was to scratch old tapes that contained old obsolete data and make them writable again.
What RMAN needs and Netbackup saves on tape are two different things.
As long as you are not running out of tapes, does it really matter if you got older data than RMAN needs saved on tape?

I hope I could be at help.

Regards
0
 

Author Comment

by:doberboy
ID: 22779314
Thank you for your suggestion.

I want to clean up the catalog because we have data going back to 2005. For example, if I do a 'CROSSCHECK ARCHIVELOG ALL' on of our database running PeopleSoft, it returns 180,000 archivelog objects. If I try to do a 'LIST BACKUP OF ARCHIVELOG ALL', I'll never get a result. I've let it run all night and have not received any results.

0
 
LVL 6

Accepted Solution

by:
peter991 earned 2000 total points
ID: 22783505
Hi!
You can be more narrow in your search.

list backup of database;     # lists backups of all files in database
list copy of datafile '/oracle/dbs/tbs_1.f'; # lists copy of specified datafile
list backup of tablespace SYSTEM; # lists all backups of SYSTEM tablespace
list copy of archivelog all;  # lists all archived redo logs and copies of logs
list backup of controlfile; # lists all control file backups

You can also restrict your search by specifying a combination of tag,
device type, filename pattern, or time options. For example, enter:
list backup tag 'weekly_full_db_backup';    # by tag
list copy of datafile '/oracle/dbs/tbs_1.f' type 'sbt_tape';   # by type
list backup like '/oracle/backup/tbs_4%';    # by filename pattern
list backup of archivelog until time 'SYSDATE-30';   # by time
list copy of datafile 2 completed between '10-DEC-1999' and '17-DEC-1999'; # by time  
list backup COMPLETED BETWEEN '11-MAY-07' and '12-MAY-07';

If your backup policy is to save backups for let's say one year why not remove the entries older than that from RMAN catalogue?

Regards
0
 
LVL 6

Expert Comment

by:peter991
ID: 22783531
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question