I don't have anywhere to test this, but my understanding is that this should do what ur after. Can u test on test box (as u have some issues with ur client name or something)?
[EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
23/03/2006 14:50
To:[EMAIL PROTECTED]
cc:veritas-bu@mailman.eng.auburn.edu
Subject:RE: [Veritas-bu] Netbackup expiry of rman backups with infinite retentionperiod
Hi,
Thanks, but I have done the rman change ... delete ... bit. What concerns me is that NB is not removing the backup images from tape.
Regards
Pete
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 23 March 2006 14:39
To: Hitchman, Peter (TS UK)
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Netbackup expiry of rman backups with infinite retentionperiod
Is this the command ur after?
The change ... delete command removes references to a backup piece, datafile copy, or archivelog from the control file and recovery catalog. It physically deletes the file. This command works with or without a recovery catalog.
[EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
23/03/2006 14:10
To:veritas-bu@mailman.eng.auburn.edu
cc:
Subject:[Veritas-bu] Netbackup expiry of rman backups with infinite retention period
Hi,
I have recently set-up some Oracle rman backups with Netbackup 4.5 on Solaris.
The retention period in the policy is set to infinite for both the automatic and application backup schedules. I wanted to check that Netbackup would clean up the backups when I obsolete them in rman. But having done the obsolete in rman I have found that Netbackup has not removed the backup images from the tapes, even though they are gone from the rman catalog. I tried running bpimage -cleanup -client name but the bpdbm log showed that nothing was removed.
There was an oddity with the Netbackup configuration on the client, when the original backup was made, the bp.conf contained the wrong client name. Could this be causing a problem, now that the client name has been changed?
Am I on the wrong track here? According to the manual when rman deletes a backup-piece Netbackup should get rid of it regardless of the retention period. Does anyone know of a way I can sort this out, so that when rman deletes the backup, Netbackup does as well?
Thanks
Pete
___
Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu