Typically we wouldn’t promote the
duplicate (copy 2) to primary first. We’d simply set its retention:
bpexpdate -backupid <backupID> -d
infinity -copy 2
Then for the original (copy 1) we’d set it
to expire immediately:
bpexpdate -backupid <backupID> -d 0
-copy 1
We wouldn’t specify media at all as what
we’re interested in is the images (which is what the backupid refers to) not
the media. Once all images on a given media are expired then the media itself
expires automatically.
From:
veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of BeDour, Wayne
Sent: Thursday, January 07, 2010
9:22 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Duplication
/ expiring image question
Our
environment, NBU 6.5.4 running on HP-UX 11-31 with a Data Domain VTL and
MSL6060 tape library.
Our
tape library wasn’t connected when we ran our yearly backups and now that it
is, I’m in the process of duplicating the yearly backups from the VTL to tape
to be moved offsite. I am going through my process to insure I don’t miss
any data in the move and only remove the original of
the duplicated data. I have duplicated what was backed from
one policy and set the copy as primary. In the example below, the
original was backed up to D11233 and then duplicated to
000789.
#
#
bpimagelist -d 01/02/2010 -sl dbn-pkg02-arch-bcv-yf
IMAGE
yos_sam1 0 0 8 yos_sam1_1262415605 dbn-pkg02-arch-bcv-dd 0 *NULL* root
dbn-pkg02-arch-bcv-yf 0 8 1262415605 1296 1483167605 0 0 16501472 1826 2 2 0
dbn-pkg02-arch-bcv-dd_1262415605_FULL.f *NULL* *NULL* 0 2 0 0 0 *NULL* 0 0 0 0
0 0 0 *NULL* 0 0 0 *NULL* 438265 1 0 198706 0 0 *NULL* *NULL* 0 0
HISTO
-1 -1 -1 -1 -1 -1 -1 -1 -1 -1
FRAG
1 1 16501472 0 2 6 1 D11233 yos_sam1 65536 2 0 1 0 *NULL* 1483167605 0 65544 0
0 0 1 0 1262416901 0 *NULL*
FRAG
2 1 16501472 0 2 14 1 000789 yos_sam1 65536 2 0 14 0 *NULL* 1483167605 0 65544
0 0 0 1 0 1262810326 0 *NULL*
#
What
I now need to do is expire the D11233 VTL tape and leave the
000789 one alone. After I RTFM I think the command below should do what I
want but would like some verification before pulling the trigger:
#
bpexpdate –backupid yos_sam1_1262415605
-m
D11233 -d 0
Can
anyone see a problem with the above, will it only remove the images on
D11233 for the backup id of yos_sam1_1262415605 and leave anything else
alone? Is there better way to do this?
Thanks
in advance….
Wayne
BeDour
Unix
System Administrator
PH: 248-447-1739
Internet:
wbedour AT lear DOT com