-
- Expert
- Posts: 219
- Liked: 12 times
- Joined: Feb 19, 2013 8:08 am
- Full Name: RH
- Location: Germany
- Contact:
Media set and retention
Hello,
how does it exactly work with media set, retention and media pool? So, here is what I do:
- Create one media pool with one week retention and create a new media set once a week (short before a Virtual Synthesized Full Backup to tape runs)
- Create one Backup-to-Tape and one File-to-Tape Job with processing fulls and incrementals into this media pool
So that means:
- Saturday: Virtual Synthesized Full Backup + File-to-Tape (Media set 1)
- Sunday: Incrementals + File-to-Tape (Media set 1)
- Monday Incrementals + File-to-Tape (Media set 1)
- Tuesday: Incrementals + File-to-Tape (Media set 1)
- Wedesday: Incrementals + File-to-Tape (Media set 1)
- Thursday: Incrementals + File-to-Tape (Media set 1)
- Friday: Incrementals + File-to-Tape (Media set 1)
- Saturday: Virtual Synthesized Full Backup + File-to-Tape (Media set 2)
- Sunday: Incrementals + File-to-Tape (Media set 2)
- Monday Incrementals + File-to-Tape (Media set 2)
- Tuesday: Incrementals + File-to-Tape (Media set 2)
- Wedesday: Incrementals + File-to-Tape (Media set 2)
- Thursday: Incrementals + File-to-Tape (Media set 2)
- Friday: Incrementals + File-to-Tape (Media set 2)
When are which tapes free to overwrite? I think, when using one week retention, all tapes of one media set should be protected for one week after the backup on Friday, is that correct?
how does it exactly work with media set, retention and media pool? So, here is what I do:
- Create one media pool with one week retention and create a new media set once a week (short before a Virtual Synthesized Full Backup to tape runs)
- Create one Backup-to-Tape and one File-to-Tape Job with processing fulls and incrementals into this media pool
So that means:
- Saturday: Virtual Synthesized Full Backup + File-to-Tape (Media set 1)
- Sunday: Incrementals + File-to-Tape (Media set 1)
- Monday Incrementals + File-to-Tape (Media set 1)
- Tuesday: Incrementals + File-to-Tape (Media set 1)
- Wedesday: Incrementals + File-to-Tape (Media set 1)
- Thursday: Incrementals + File-to-Tape (Media set 1)
- Friday: Incrementals + File-to-Tape (Media set 1)
- Saturday: Virtual Synthesized Full Backup + File-to-Tape (Media set 2)
- Sunday: Incrementals + File-to-Tape (Media set 2)
- Monday Incrementals + File-to-Tape (Media set 2)
- Tuesday: Incrementals + File-to-Tape (Media set 2)
- Wedesday: Incrementals + File-to-Tape (Media set 2)
- Thursday: Incrementals + File-to-Tape (Media set 2)
- Friday: Incrementals + File-to-Tape (Media set 2)
When are which tapes free to overwrite? I think, when using one week retention, all tapes of one media set should be protected for one week after the backup on Friday, is that correct?
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Media set and retention
Hi,
Thank you.
Correct. When the data protection period is over the oldest tape from the media set will be the first in the "Overwrite" queue.When are which tapes free to overwrite? I think, when using one week retention, all tapes of one media set should be protected for one week after the backup on Friday, is that correct?
Thank you.
-
- Expert
- Posts: 219
- Liked: 12 times
- Joined: Feb 19, 2013 8:08 am
- Full Name: RH
- Location: Germany
- Contact:
Re: Media set and retention
Hmmm.... after the first backup I have three tapes in the first media set, tape one and two have the same expiration, but the last tape which consists also the file-backup has a later expiration. Is that correct? What will happen when the next increments are stored on this tape and on new tapes?PTide wrote:Correct. When the data protection period is over the oldest tape from the media set will be the first in the "Overwrite" queue.
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Media set and retention
Correct.but the last tape which consists also the file-backup has a later expiration. Is that correct?
I'm not sure what you mean. If a tape contains several backup sets, it will expire when the backup set with the longest retention period expires. Does that answer your question?What will happen when the next increments are stored on this tape and on new tapes?
-
- Expert
- Posts: 219
- Liked: 12 times
- Joined: Feb 19, 2013 8:08 am
- Full Name: RH
- Location: Germany
- Contact:
Re: Media set and retention
Perhaps I explain what I want to achieve:PTide wrote:I'm not sure what you mean. If a tape contains several backup sets, it will expire when the backup set with the longest retention period expires. Does that answer your question?
I want to be sure that a whole backup set (which is the full backup of saturday + 6 following increments) is protected for one week. I move the tape out of the library every day so what I understood is that there will be created a new media set with each backup. When I set the retention for one week I fear that the tape with full backup will be deleted after one week and the other tapes with increments become useless.
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Media set and retention
New media sets are created in accordance with your media set policy. As you've mentioned in your OP a new media set is created once a week.I move the tape out of the library every day so what I understood is that there will be created a new media set with each backup.
Ok, now I see what you mean. Assume that you're out of free tapes and the protection period of the first tape containing full backup has just expired. In this case the tape will be overwritten, rendering the whole chain of subsequent incrementals unusable. The possible workaround is to use separate media pools for Full and incremental backups or trigger Tape Protection via PowerShell.fear that the tape with full backup will be deleted after one week and the other tapes with increments become useless.
Thank you.
-
- Expert
- Posts: 219
- Liked: 12 times
- Joined: Feb 19, 2013 8:08 am
- Full Name: RH
- Location: Germany
- Contact:
Re: Media set and retention
But they are also created when there is no tape to append, is that right? What I thought is that all tapes in a media set have the same expiration, but that's wrong, isn't it?PTide wrote:New media sets are created in accordance with your media set policy. As you've mentioned in your OP a new media set is created once a week.
Okay, I understand that way. So there is no mechanism to have a retention for full backups and incrementals like "I need restore points for two weeks"? In case of using two media pools I will have tapes with useless restore points which are still protected.Ok, now I see what you mean. Assume that you're out of free tapes and the protection period of the first tape containing full backup has just expired. In this case the tape will be overwritten, rendering the whole chain of subsequent incrementals unusable. The possible workaround is to use separate media pools for Full and incremental backups
-
- Product Manager
- Posts: 20397
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Media set and retention
Could elaborate on that? You're asking whether a new mediaset gets created, when a tape job uses a new media, right?But they are also created when there is no tape to append, is that right?
For how long should the data stored on tapes be preserved? Week it's been written to and the week after? If so, just set 2 weeks as a protection period. Thanks.Okay, I understand that way. So there is no mechanism to have a retention for full backups and incrementals like "I need restore points for two weeks"?
-
- Expert
- Posts: 219
- Liked: 12 times
- Joined: Feb 19, 2013 8:08 am
- Full Name: RH
- Location: Germany
- Contact:
Re: Media set and retention
Yes, in my case I release the tape every morning. So it will be created a new media set every day, am I right?v.Eremin wrote:Could elaborate on that? You're asking whether a new mediaset gets created, when a tape job uses a new media, right?
Yes, your example is fine. But it just works when I have one continous mediaset for each week because with every new media set a new retention period is beginning. That's right?For how long should the data stored on tapes be preserved? Week it's been written to and the week after? If so, just set 2 weeks as a protection period. Thanks.
-
- Veteran
- Posts: 7328
- Liked: 781 times
- Joined: May 21, 2014 11:03 am
- Full Name: Nikita Shestakov
- Location: Prague
- Contact:
Re: Media set and retention
Correct.redhorse wrote:Yes, in my case I release the tape every morning. So it will be created a new media set every day, am I right?
What Vladimir meant is if you create a new media set every day and you want the first media set to be protected one week after the 7th media set is created, you need to set an option to protect media sets for 2 weeks.redhorse wrote:Yes, your example is fine. But it just works when I have one continous mediaset for each week because with every new media set a new retention period is beginning. That's right?
And yes, every new media set has its own expiration date, but the protection length is same(2 weeks in our case).
Who is online
Users browsing this forum: No registered users and 23 guests