Veritas-bu

Re: [Veritas-bu] Restoring when no image in NetBackup History(NetBackup 6.0)

2008-04-01 12:44:44
Subject: Re: [Veritas-bu] Restoring when no image in NetBackup History(NetBackup 6.0)
From: <Mark.Donaldson AT cexp DOT com>
To: <VERITAS-BU AT mailman.eng.auburn DOT edu>
Date: Tue, 1 Apr 2008 10:10:36 -0600
If you've got level 9 images mixed on with your other levels (unlikely unless you change image expirations manually), you could reimport the contents of the tape to "discover" what's on the tape and recreate the image-database entries.  If all images on the tape expire, though, and it's gone back to the scratch pool and has been rewritten, this isn't possible.  If the entire tape is full of expired images but has been on the shelf and could not have been overwritten, then importing it is also possible.
 
So - images on tape, not in image database because they're expired: if the tape has not been overwritten, you can import the tape and recreate the image db info.  If the tape has been overwritten, you're just SOL, I'm afraid.
 
Ed's comment about backups not being archives is because "archive" has a very specific meaning within NB, different than the common usage.  What you have are probably "long-term backups".
 
-M


From: veritas-bu-bounces AT mailman.eng.auburn DOT edu [mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of Ed Wilts
Sent: Tuesday, April 01, 2008 9:50 AM
To: VERITAS-BU AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] Restoring when no image in NetBackup History(NetBackup 6.0)

On Tue, Apr 1, 2008 at 4:34 AM, DaveJen <netbackup-forum AT backupcentral DOT com> wrote:

We are currently running Veritas NetBackup 6.0 (with no maintenance packs) on one Master/Media/EMM server for our one-site-office. Recently we have been experiencing issues restoring from several Ad-Hoc backups. The Ad-Hoc policy details are:

6.0 with no maintenance packs is suicide.  I very strongly suggest you upgrade.  Your backups are at risk.
 
Type: Full Backup
Retention: Infinity (Level 9)

Backups are not archives.  But if you insist...
 
We use this for archiving information as and when we need to perform an archive. However, when we goto the restore utility some of the backup jobs are in the NetBackup History but others are not. Previously we used the retention "1 year" (Level 8) so some of the older backup tapes (including the tapes we are attempting to restore from) have this retention. Could this be an issue?

Absolutely.  If the image is written with a 1 year retention, then when the image expires, its contents in the catalog are erased.  If all the images on a tape have expired, then the tape is put back in the scratch pool.

If so, how do we change the retention level of a tape? We have tried changing the retention of the policy back to Level 8 to no avail.

You change the expiration of the image, not the tape.  Use bpexpdate to do this.

If you want until the image expires, it could be too late - the tape could already be overwritten.  You *must* change the expiration *before* the image expires.  Once the image has been written, the policy is no longer relevant - you can delete the policy and the data will still be there until the image expires.

--
Ed Wilts, Mounds View, MN, USA
mailto:ewilts AT ewilts DOT org
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu