Here's the general process I think I would follow.

First, stop directing any backups to DSSU until your "maintenance" is done.
Run bpimmedia to see which images are on your dssu (bpimmedia -disk_stu <stu
label>
For each of those images, run bpimagelist to see how many copies there are
(bpimagelist -backupid <BID>)
For those images which don't have a copy on tape, duplicate it (kick off
your de-stage job)
For those images that do have multiple copies, expire the dssu copy
(bpexpdate -backupid <BID> -d 0 -copy <#>)
Repeat those steps until you're sure you have all your data protected.

The bottom line though is to make sure that before you go deleting
(expiring) anything, you've got the data protected.  You don't want to
accidentally erase an image that is ONLY on disk.

-Tim

On Mon, Jan 26, 2009 at 3:43 PM, Ed Wilts <ewi...@ewilts.org> wrote:

> On Mon, Jan 26, 2009 at 3:24 PM, Matthew Stier <
> matthew.st...@us.fujitsu.com> wrote:
>
>> Background: Solaris 10 master/media server with several filesystems
>> mounted from SAN to act as DSSU's.  Backups are done using cron initiated
>> backup scripts, which call the applicable policy. Whe the policy is
>> completed, another script dumps each DSSU to tape.
>>
>> Issue: Need to rebuild the filesystems hosting the DSSU's.  Since these
>> tapes are already backed up to tape, what do I need to do to purge all the
>> images?
>
>
> What you need to do is for each image on tape, verify that you have 2
> copies and then expire the disk copy.  It's a little bit tricky because
> you'll be expiring copy 1.  If there is no copy 2 (say for some reason the
> image failed to destage), you've deleted your only copy.  If all goes well,
> you'll have an empty DSSU in the end.
>
> You can also do a brute force rm of the disk images but that's a bit
> hostile since a restore will attempt to restore from disk rather than tape -
> you could expire the disk image if you run into this so that the tape copy
> is preferred, but as I said, it's ugly.
>
> .../Ed
>
> Ed Wilts, RHCE, BCFP, BCSD, SCSP, SCSE
> ewi...@ewilts.org
>
>
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>
>
_______________________________________________
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

Reply via email to