Sanity check - Tape retention period

Everything about backing up to tape

Sanity check - Tape retention period

Veeam Logoby macademy » Wed Dec 17, 2014 9:24 am

We currently have a retention of 30 days on our backup to disk job and 6 days on our tape media pools.

What we are seeing is that the tape job is now backing up the previous nights job, but also backing up old files from last month.

Reading the help guide section on tape retention, it says "This setting must accord with the retention policy specified for the backup chain that you plan to archive to tape. The retention period for archives on tape must be greater or equal to the time interval for which restore points are kept on the backup repository. In the opposite case, with every new job cycle, Veeam Backup & Replication may write the same set of files to tape, instead of adding new ones."

So, should we set a 30 day retention on our tape media pools too? Do I need to do anything else after that?
macademy
Enthusiast
 
Posts: 27
Liked: 3 times
Joined: Mon Nov 10, 2014 4:07 pm
Full Name: Ian Cullen

Re: Sanity check - Tape retention period

Veeam Logoby v.Eremin » Wed Dec 17, 2014 10:10 am

Tapes are considered to be a secondary location for the backup data which in contrast to primary repository guarantees long-term retention. Thus, it's recommended to have tape retention greater than primary repository retention. With such approach you will achieve both: follow best practice and avoid undesired behaviour. Thanks.
v.Eremin
Veeam Software
 
Posts: 13291
Liked: 973 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Sanity check - Tape retention period

Veeam Logoby macademy » Wed Dec 17, 2014 10:37 am

Thanks, I've set my media pools to 30 days also.
macademy
Enthusiast
 
Posts: 27
Liked: 3 times
Joined: Mon Nov 10, 2014 4:07 pm
Full Name: Ian Cullen

Re: Sanity check - Tape retention period

Veeam Logoby v.Eremin » Wed Dec 17, 2014 11:18 am

Yes, it should help you to avoid unnecessary data duplication. If other questions arise, don't hesitate to let us know. Thanks.
v.Eremin
Veeam Software
 
Posts: 13291
Liked: 973 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Sanity check - Tape retention period

Veeam Logoby macademy » Wed Jan 21, 2015 9:36 am

Sorry, I'm going to need more advice on this!

Our Backup to Disk retention period is 30 days, and based on the advice in this thread I changed both our "Daily Incrementals" and "Friday Full Backup" media pools to have 30 days retention also.

Recently, the backup to tape has not started and we get a message - Insert tape to continue.

On looking at the logs, it's seems to be reporting that there are no usable tapes in the loader, but there are three tapes from the Daily Incremental pool currently loaded (we cycle the daily incremental tapes every day). They all have enough free capacity to append to (220GB, 677GB and 308GB free), but are overwrite protected. The amount of data to back up from last night is 66GB, shouldn't it just append to one of the tapes in the loader?

I just changed the Daily Incrementals media pool to have a 5 day retention period then ran the job manually and now it's working.

If we only ever wanted to have 1 months data on both disk and tape, what would our retention settings be on the Daily Incrementals pool? If we run with 30 days on disk, 30 days on Friday Full Backup and 5 days on Incrementals, would that cause problems?

Can I also ask....in the media pools we have a number of tapes that are showing 4.8GB free, so these tapes are full. If the overwrite protection period has passed, will these tapes be overwritten as required?
macademy
Enthusiast
 
Posts: 27
Liked: 3 times
Joined: Mon Nov 10, 2014 4:07 pm
Full Name: Ian Cullen

Re: Sanity check - Tape retention period

Veeam Logoby v.Eremin » Wed Jan 21, 2015 11:59 am

The amount of data to back up from last night is 66GB, shouldn't it just append to one of the tapes in the loader?

What mediaset creation settings are specified on the given media pool?

If the overwrite protection period has passed, will these tapes be overwritten as required?

Medium falling out of retention should be overwritten during the subsequent runs.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13291
Liked: 973 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Sanity check - Tape retention period

Veeam Logoby macademy » Wed Jan 21, 2015 12:38 pm

Both Daily Incremental and Friday Full Backup media pools are set to "Do not create, always continue using current media set".
macademy
Enthusiast
 
Posts: 27
Liked: 3 times
Joined: Mon Nov 10, 2014 4:07 pm
Full Name: Ian Cullen

Re: Sanity check - Tape retention period

Veeam Logoby v.Eremin » Wed Jan 21, 2015 2:22 pm

What do you mean by saying over write protected? Have you enabled "protect" option for those tapes? Thanks.
v.Eremin
Veeam Software
 
Posts: 13291
Liked: 973 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Sanity check - Tape retention period

Veeam Logoby macademy » Wed Jan 21, 2015 3:00 pm

Well, our Daily Incremental pool was set to 30 days retention, based on previous advice (it's now 5).

This morning, it was refusing to load any of the Daily Incremental tapes that were in the loader, I'm guessing this was because the overwrite protection period had not expired. However, there was sufficient capacity on all available tapes, so why didn't it just append the data (appending is not overwriting, right?).

Setting the retention to 5 caused the backup to proceed.
macademy
Enthusiast
 
Posts: 27
Liked: 3 times
Joined: Mon Nov 10, 2014 4:07 pm
Full Name: Ian Cullen

Re: Sanity check - Tape retention period

Veeam Logoby v.Eremin » Thu Jan 22, 2015 10:58 am

Hmm, I'm interested in why there is free space left on mediums, if you enable "Do not create, always continue using current media set". With those settings, data should be written to a tape, until it reaches its limit. Or you remove a tape from a device on daily basis? Thanks.
v.Eremin
Veeam Software
 
Posts: 13291
Liked: 973 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Sanity check - Tape retention period

Veeam Logoby macademy » Thu Jan 22, 2015 11:57 am

We have:

Monday Diff
Tuesday Diff
Wednesday Diff
Thursday Diff
Friday Week 1
Friday Week 2
Friday Week 3
Friday Week 4
Friday Week 5

The tapes are changed daily, the tape(s) used the previous night are removed from the loader and stored in the appropriate labeled box, this morning we removed two tapes (the first tape must not have had enough free capacity and the backup spilled over onto another tape) and put them in the box labeled "Wednesday Diff". I have inserted the "Thursday Diff" tape today for use tonight.

There are currently two tapes in the loader that are in the daily incrementals pool, one has 263GB free and the other has 677GB free, so it should pick either one of those tapes for use tonight, I'm not sure how it decides! Both are not overwrite protected. There is also always at least one free tape in the loader.

This is the exact same cycle that we used when we were on Backup Exec.

EDIT: I've just marked all of the tapes in the loader as free and moved them to the free pool, apart from the one that was just put in this morning. So right now there are 5 x Free media and 1 x Daily Incremental with 263GB free space.
macademy
Enthusiast
 
Posts: 27
Liked: 3 times
Joined: Mon Nov 10, 2014 4:07 pm
Full Name: Ian Cullen

Re: Sanity check - Tape retention period

Veeam Logoby v.Eremin » Thu Jan 22, 2015 12:34 pm

It's by design. A tape medium that has been taken offline isn't appendable. Unless a tape job has been suspended since the time cassette was moved offline. Thanks.
v.Eremin
Veeam Software
 
Posts: 13291
Liked: 973 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Sanity check - Tape retention period

Veeam Logoby macademy » Thu Jan 22, 2015 1:34 pm

One more question, last nights incremental used two tapes (5 & 12), those two tapes are now a media set.

Next Wednesday, those two tapes will be inserted back into the loader, it will continue to append to the second tape, yes?

So, on Thursday when it says that it only used tape 12 for the backup, should we remove only tape 12 or should we remove both tapes 5 & 12 (keeping the media set together).

At some point, tape 12 will be full, it will then overwrite tape 5 again?

Sorry if this is all basic stuff!
macademy
Enthusiast
 
Posts: 27
Liked: 3 times
Joined: Mon Nov 10, 2014 4:07 pm
Full Name: Ian Cullen

Re: Sanity check - Tape retention period

Veeam Logoby v.Eremin » Thu Jan 22, 2015 2:35 pm

Next Wednesday, those two tapes will be inserted back into the loader, it will continue to append to the second tape, yes?

As I've said, if you take those tapes offline, backup server won't be able to append data to them, once they are inserted back. Depending on specified retention, either they will be overwritten or backup server will request a new media. Thanks.
v.Eremin
Veeam Software
 
Posts: 13291
Liked: 973 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Sanity check - Tape retention period

Veeam Logoby macademy » Thu Jan 22, 2015 2:41 pm

So, on Thursday, if it says that it only used tape 12 for the backup, should we remove only tape 12 or should we remove both tapes 5 & 12 (keeping the media set together)?

Thanks again.
macademy
Enthusiast
 
Posts: 27
Liked: 3 times
Joined: Mon Nov 10, 2014 4:07 pm
Full Name: Ian Cullen

Next

Return to Tape



Who is online

Users browsing this forum: No registered users and 6 guests