10-28-2013 12:38 PM
I'm running Netbackup 7.5.0.6 and using SLP's to backup my primary copy 1 and duplicate copy 2 for offsite. Copy 1 has a retention of 1 year and Copy 2 has a retention of 2 months. When I look in BAR or bpimagelist the retention date is displayed from Copy 2. When I look at the image with bpimagelist -U -L -backupid <backup image id> I can see Copy 1 with correct date and Copy 2 with correct date. When Copy 2 expires will Netbackup properly display the retention date for Copy 1 for the given backupid? Has anyone else seen this behavior from Netbackup? I thought it was supposed to display the retention date from the primary copy -- Copy 1?
Solved! Go to Solution.
11-04-2013 01:29 PM
Sorry, was busy last few days I forgot to check this..
But on the day before Nov2, I did check and the expiration date using "-U" was showing 31/10/2013, and using "-L" shows me 2 copies with first copy expiring in Nov 2, second copy expiring in Oct 31. So we can say it's showing the expiration date of last copy made.
IMHO, probably a good idea for Netbackup to display the longest expiration date out of all copies, instead of assuming the last copy will have longest retention period.
10-28-2013 07:30 PM
10-28-2013 09:18 PM
It seems that NBU sort of assumes that copy 2 will have the longer retention.
Most users have copy 1 on disk with short retention and copy 2 on tape with longer retention.
I remember a similar discussion here a while ago. Will dig a bit and post the link if I can find it....
10-28-2013 10:24 PM
As far as I understand, it always list the image details of final copy.
I will test it out...[EDIT]
OK now I have run a simple test of SLP:
backup (4 days),
1st dup (2 days),
2nd dup (2 hours)
Upon completion of all duplication, run the commands:
10-30-2013 09:31 AM
I did a little test too only did weeks instead of days. I'll re-do it for days. Please do let me know how it turns out. Thanks for all your help!
11-04-2013 01:29 PM
Sorry, was busy last few days I forgot to check this..
But on the day before Nov2, I did check and the expiration date using "-U" was showing 31/10/2013, and using "-L" shows me 2 copies with first copy expiring in Nov 2, second copy expiring in Oct 31. So we can say it's showing the expiration date of last copy made.
IMHO, probably a good idea for Netbackup to display the longest expiration date out of all copies, instead of assuming the last copy will have longest retention period.
11-05-2013 05:46 AM
My test proved that as well. Whew! Thanks for your help and responses!