cancel
Showing results for 
Search instead for 
Did you mean: 

Tape Expiry Confusion

markdavies1978
Level 5

Hi all,

Just noticed with NBU BAR that a backup image (where the policy has a 1 year retention set) states that the image will expire in 1 month.

However, when I run a 'images on tape' report the expiration is correct and is 1 year from now.

Anyone seen this before?

I'm running NBU 7.1.0.4 on W2K8 R2 STD 64-Bit.

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions

Mark_Solutions
Level 6
Partner Accredited Certified

It seems to be the retention that matters - if the primary is longer than copy 2 then you see just the shorter one but if the other way around you actually see both so can select which one to restore from

That being the case (and feel free to test it) then that could work for you as it gives visibility of both copies in the BAR GUI so you can choose which one to restore from

You would just need primary to go to the duplicate pool for 1 month and copy 2 going to the Monthly pool for 1 year - the only difference being whgich is primary, but if you can see both in the BAR then it shouldnt be an issue for you

Hope this helps

PS - only change things like this before a full backup is due to run incase it triggers all incrementals to run as fulls

View solution in original post

23 REPLIES 23

sksujeet
Level 6
Partner Accredited Certified

You might be using SLP or Vault duplication. The first copy of your backups might be going to disk/vtl/ost where it will be available for 1 month and once duplicated it will be available for 1 year.

If data is getting backed up using SLP then it won't be deleted till it get duplicated.

Also the SLP schedule will overwrite what you see in the policy.

markdavies1978
Level 5

No not using either.

I am running multiple copies though. The Primary copy has a 1 year retention.

I have this issue across multiple policies.

sksujeet
Level 6
Partner Accredited Certified

I am running multiple copies though? Please specify how you are running multiple copies?

Is the primary copy directly going to tape?

Could you please post the screen shot as attachement where it shows 1 month and details of policy here.

sksujeet
Level 6
Partner Accredited Certified

Ahh I am sorry you mean Multiple Copies Option. Please check retention to Disk STU and retention to your tape media

In the Schedule - Multiple Copies. There you can specify STU and retention levels, what it shows there?

It might be 1 year and will take effect when it goes to tape.

markdavies1978
Level 5

Yes multiple copies option.

Retention is set correctly.

I only backup to tape.

see attached screenshot.

sksujeet
Level 6
Partner Accredited Certified

Your duplication pool which is Copy 2 is showing 1 month that is the reason it will be 1 month.

markdavies1978
Level 5

"Your duplication pool which is Copy 2 is showing 1 month that is the reason it will be 1 month."

No that is incorrect.

When using BAR it should be looking at the primary copy which has a 1 year retention.

Why would it refer to copy 2?

Also when I run a report on the tapes in question the expiry is correct.

markdavies1978
Level 5

Just checked more policies & I have the same issue for all of them.

The last time a month end backup with a 1 year retention is stated correctly from within BAR was at the end of September.

sksujeet
Level 6
Partner Accredited Certified

This is how multiple copies is designed. If you just want 1 copy why to use multiple copies then? You might got confused and just thought that you are taking just one copy going to tape but the copy 2 is also happening here. That tick mark on Primay give that feeling that it will only do primary copy but actually there are 2 copies.

But if you just want 1 copy then no need to use the option multiple copies, please check with your teammates they might have it setup for some purpose. Actually it would be better to have 1 copy onsite(mostly on disk) so data can be restored as and when required till it get expired(in your case it is 1 month)

In catalog BAR gui select copy 2 and it will report copy 2 as well.

markdavies1978
Level 5

Copy 2 stays on site & the primary goes off site. Both to tape.

It has been like this for 2 years without issue.

Clearly there is a bug somewhere.

I'll log a ticket with Symantec, thanks for your efforts anyway.

 

Mark_Solutions
Level 6
Partner Accredited Certified

Just ran a quick test using multiple copies and both show up in the BAR GUI - so i see the one with a short and the one with a long expiry date in the GUI

Are you saying that you only see one backup in the BAR GUI for each day?

sksujeet
Level 6
Partner Accredited Certified

As per the multiple copies you are running 2 jobs, both on tape.
1> primary copy will be retained for 1 year
2> 2nd copy will be retained for 1 month

Just noticed with NBU BAR that a backup image (where the policy has a 1 year retention set) states that the image will expire in 1 month.
Can you paste the screenshot where it shows this?

In the activity monitor you should be having 1 job running for 1 year retention and 1 for 1 month.

markdavies1978
Level 5

@ Mark_Solutions

Thanks for running a test. I'm only seeing 1 backup job within the BAR GUI, thats correct right? As BAR will only be looking at the Primary Copy image?

@ Sazz

I have attached 2 screen shots, 1 from within BAR & the other from within NBU.

Thanks.

 

markdavies1978
Level 5

For some reason it appears that BAR may be looking at the copy 2 expiration date?

Perhaps once copy 2 expires BAR will update?

Mark_Solutions
Level 6
Partner Accredited Certified

OK - happy that it is a bug then so feel free to raise a ticket.

Here is what i have found ..

First copy set to 2 weeks, second to 1 month - I see both in the BAR GUI

First copy set to 1 month, second to 2 weeks - I see just one in the BAR GUI and it is the one with the shortest retention.

So if your primary copy has a longer retention than your secondary copy you only see the shortest one in the BAR GUI (at least until it expires)

I am guessing that this is because the primary copy usually expires first and then promotes the second copy to be primary but that is not the case with your setup - obviously an assumption coded in somewhere

For your info my test system is 7.1.0.1 so looks like this has been around for a while!

Hope this helps

markdavies1978
Level 5

@ Mark_Solutions

Thanks for your input.

Seems odd that you can see both copies in BAR? I can only see the images of my copy 2 in BAR if I goto Catalog & promote my copy 2 to Primary.

I did read somewhere that if you set up Multiple Copies the Primary copy is expected to stay onsite. I didn't want to implement it this way but maybe thats where this confusion with expiration is coming from.

Mark_Solutions
Level 6
Partner Accredited Certified

It seems to be the retention that matters - if the primary is longer than copy 2 then you see just the shorter one but if the other way around you actually see both so can select which one to restore from

That being the case (and feel free to test it) then that could work for you as it gives visibility of both copies in the BAR GUI so you can choose which one to restore from

You would just need primary to go to the duplicate pool for 1 month and copy 2 going to the Monthly pool for 1 year - the only difference being whgich is primary, but if you can see both in the BAR then it shouldnt be an issue for you

Hope this helps

PS - only change things like this before a full backup is due to run incase it triggers all incrementals to run as fulls

Jevon
Level 4

I thought this whole thing was unusual.  Why mark the longer retention that is offsite to be 'primary' (aka - The media to perform restores from) when you have a local copy.  The local copy would otherwise never be used for restore.

Would NetBackup ignore the primary that is offsite if library contains a copy?  It would make sense to me if that were the case.

markdavies1978
Level 5

@ Jevon

For my environment it seemed to make more sense to make the Primary Copy the offsite copy and with a longer retention. The idea being if my site had a melt down I could restore my master server knowing that my Primary copies were offsite and more than likey the images I would have needed would not have expired thus saving the need to import any tapes.