-
- Enthusiast
- Posts: 39
- Liked: 10 times
- Joined: May 28, 2013 8:41 am
- Full Name: Danny Thake
- Contact:
Odd Issues with Backup to Tape
Hi,
Support Ticket 00449176
Each night I have 9 backup jobs to run, all starting at the same time. Each backup is a single VM. I also have a tape job scheduled to run "When new backup files Appear".
Each evening, the first disk backup finishes and it instantly writes it to tape (about 10gb), at which point it ejects the tape. Then, it waits for all the other 8 backup jobs finish shortly after, but it doesn't append them to the first tape, but starts a second tape and writes them all to this tape.
Why is it doing this? It makes no sense!
Thanks
Support Ticket 00449176
Each night I have 9 backup jobs to run, all starting at the same time. Each backup is a single VM. I also have a tape job scheduled to run "When new backup files Appear".
Each evening, the first disk backup finishes and it instantly writes it to tape (about 10gb), at which point it ejects the tape. Then, it waits for all the other 8 backup jobs finish shortly after, but it doesn't append them to the first tape, but starts a second tape and writes them all to this tape.
Why is it doing this? It makes no sense!
Thanks
-
- Chief Product Officer
- Posts: 31816
- Liked: 7302 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: Odd Issues with Backup to Tape
Do you possibly have some ejects options enabled in the job settings?
-
- Enthusiast
- Posts: 39
- Liked: 10 times
- Joined: May 28, 2013 8:41 am
- Full Name: Danny Thake
- Contact:
Re: Odd Issues with Backup to Tape
Hi,
No its disabled.
No its disabled.
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Odd Issues with Backup to Tape
Then, I'm wondering what the media set options are. Is media set automatically created for every backup session? Thanks.
-
- Enthusiast
- Posts: 39
- Liked: 10 times
- Joined: May 28, 2013 8:41 am
- Full Name: Danny Thake
- Contact:
Re: Odd Issues with Backup to Tape
Yes, as its the only way we could find to see how old tapes are easily.v.Eremin wrote:Then, I'm wondering what the media set options are. Is media set automatically created for every backup session? Thanks.
By this i mean, if we have 4 week worth of tapes, when we get to the 5th week i need to know the indentity of the tapes that were used in the 1st week in order to pull those from our Fireproof Safe. We could find no other way to find this information.
Thanks
-
- Enthusiast
- Posts: 39
- Liked: 10 times
- Joined: May 28, 2013 8:41 am
- Full Name: Danny Thake
- Contact:
Re: Odd Issues with Backup to Tape
Just to add, if having this set to create for each session, why is it writing a single VM to one tape and then the other 8 to a different tape?
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Odd Issues with Backup to Tape
I believe that It's somehow expected - the first backup job ended up a little bit earlier that the other ones, then, backup to tape job started to copy resulting backup file to tape medias. Once it's finished, the new media set was created for second session which required separate tape, since two media set could not be placed on one media.
In order to avoid this behavior, I'd recommend creating media sets daily at the time when backup jobs have already finished.
Thanks.
In order to avoid this behavior, I'd recommend creating media sets daily at the time when backup jobs have already finished.
Thanks.
-
- Enthusiast
- Posts: 39
- Liked: 10 times
- Joined: May 28, 2013 8:41 am
- Full Name: Danny Thake
- Contact:
Re: Odd Issues with Backup to Tape
I dont understand the logic in this? Why would you want to do that? What exactly is the point of having a tape Job to backup new files as they appear if it will randomly grab a different tape.v.Eremin wrote:I believe that It's somehow expected - the first backup job ended up a little bit earlier that the other ones, then, backup to tape job started to copy resulting backup file to tape medias. Once it's finished, the new media set was created for second session which required separate tape, since two media set could not be placed on one media.
In order to avoid this behavior, I'd recommend creating media sets daily at the time when backup jobs have already finished.
Thanks.
I'm sorry but this just seems ridiculous.
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Odd Issues with Backup to Tape
Hello Dany,
First of all let me ask you - what kind of tape library you are using. Does it have barcode scanner built in?
As for the backup to tape options – I believe in the scenario when you are collecting files from 9 backup into one tape job and what to put all the data into one tape – the best would be either start new media set daily as it was mentioned or do not create new media set option. In both cases you would force system to put all backup files into one media set (e.g. one tape) unless it is full.
Create new media set option should make a new media set for each backup job (would take a new tape from the specified media pool – that does not happen randomly) – so the behavior is expected. This option works perfectly when files produced by backup to disk job are large or by company policy you would like to keep backups of your VM separately.
To summarize you can try to use the following settings, if I am not mistaken and understood your post correctly:
1. Media pool settings – Media Set – Do not create, continue using the current media set /OR Start new media set daily at
2. Media pool settings – Retention – Never overwrite data
3. Backup to tape job settings – Use the same media pool both for Full backups/incremental backups
4. Backup to tape job settings – DO NOT USE Export current media set once the job finishes
5. Backup to tape job settings – DO NOT USE Eject media once the job finishes
First of all let me ask you - what kind of tape library you are using. Does it have barcode scanner built in?
As for the backup to tape options – I believe in the scenario when you are collecting files from 9 backup into one tape job and what to put all the data into one tape – the best would be either start new media set daily as it was mentioned or do not create new media set option. In both cases you would force system to put all backup files into one media set (e.g. one tape) unless it is full.
Create new media set option should make a new media set for each backup job (would take a new tape from the specified media pool – that does not happen randomly) – so the behavior is expected. This option works perfectly when files produced by backup to disk job are large or by company policy you would like to keep backups of your VM separately.
To summarize you can try to use the following settings, if I am not mistaken and understood your post correctly:
1. Media pool settings – Media Set – Do not create, continue using the current media set /OR Start new media set daily at
2. Media pool settings – Retention – Never overwrite data
3. Backup to tape job settings – Use the same media pool both for Full backups/incremental backups
4. Backup to tape job settings – DO NOT USE Export current media set once the job finishes
5. Backup to tape job settings – DO NOT USE Eject media once the job finishes
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Odd Issues with Backup to Tape
The root cause of this behavior is the way the settings are specified now.I dont understand the logic in this?
You’ve selected both options “When new backup files appear” and “Create a new media set for each backup session”. So, let’s see what’s happening in your case:
1) 9 Backup jobs are executed.
2) 1 out of 9 job is finished and the first backup file appears.
3) As per “When new backup files appear” setting, backup to tape job starts to copy the said file to tape.
4) During the copying process, the other 8 files are created in backup repository.
5) Once the copying process is finished, a new backup to tape session begins and a new media set is created as per “Create a new media set for each backup session” option. Since it's not possible to create two different media sets on one tape, the other 8 files are transferred to the second tape media.
Thanks.
-
- Enthusiast
- Posts: 39
- Liked: 10 times
- Joined: May 28, 2013 8:41 am
- Full Name: Danny Thake
- Contact:
Re: Odd Issues with Backup to Tape
Its a HP Autoloader with Barcode Reader. The above setting are what we wanted to use, but couldnt find a way to track the older tapes without creating a media set each time with %date%d.popov wrote:Hello Dany,
First of all let me ask you - what kind of tape library you are using. Does it have barcode scanner built in?
To summarize you can try to use the following settings, if I am not mistaken and understood your post correctly:
1. Media pool settings – Media Set – Do not create, continue using the current media set
2. Media pool settings – Retention – Never overwrite data
3. Backup to tape job settings – Use the same media pool both for Full backups/incremental backups
4. Backup to tape job settings – DO NOT USE Export current media set once the job finishes
5. Backup to tape job settings – DO NOT USE Eject media once the job finishes
This is exactly what im struggling to get an answer for. Let me try explain in a different way:
Lets say i have 7 tapes, one for each day of the week. Lets say these tapes are named by colours (Just purely for the sake of this example)
Monday: Blue
Tuesday: Red
Wednesday: Yellow
Thursday: Black
Friday: Green
Saturday: Orange:
Sunday: Purple
I run a weeks worth of backups, using the tapes as above. I get to the second week, and need to know which tape is the oldest so i can use this first. If i create the Media Set each day with %date% as a name i can just look at the dates.
So how would i know which tape to use (Blue) if i dont create a media set each time?
Bearing in mind we use Months worth of tapes in our cycles, potentially around 100 tapes. We need an easy way to sort the tapes, find the oldest, put it in the drive, and know that its the correct one
Hopefully this will make it clearer what im after - It seems like such a simple thing to ask for
Thanks for your time
-
- Enthusiast
- Posts: 39
- Liked: 10 times
- Joined: May 28, 2013 8:41 am
- Full Name: Danny Thake
- Contact:
Re: Odd Issues with Backup to Tape
Thank you, great explanation. So my last remaining question is the one above this postv.Eremin wrote: The root cause of this behavior is the way the settings are specified now.
You’ve selected both options “When new backup files appear” and “Create a new media set for each backup session”. So, let’s see what’s happening in your case:
1) 9 Backup jobs are executed.
2) 1 out of 9 job is finished and the first backup file appears.
3) As per “When new backup files appear” setting, backup to tape job starts to copy the said file to tape.
4) During the copying process, the other 8 files are created in backup repository.
5) Once the copying process is finished, a new backup to tape session begins and a new media set is created as per “Create a new media set for each backup session” option. Since it's not possible to create two different media sets on one tape, the other 8 files are transferred to the second tape media.
Thanks.
Thanks.
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Odd Issues with Backup to Tape
As mentioned above, creating media set daily at the time when backup jobs have already finished should do the trick. If you’re copying backups to tape during evenings, the morning time should work for you.
This way, each morning new media set will be created and during the evening the corresponding backup files will fall into it without any issues. Also, media set will be given proper “daily” names. Should need be, you can easily identify what VM restore point relates to what media set by going to “Tape” node.
Thanks.
This way, each morning new media set will be created and during the evening the corresponding backup files will fall into it without any issues. Also, media set will be given proper “daily” names. Should need be, you can easily identify what VM restore point relates to what media set by going to “Tape” node.
Thanks.
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Odd Issues with Backup to Tape
Moreover, in the media pool view even if the tape was taken offline you can see barcode of the tape and media set date - so it works for identifying what tapes should be taken for a proper restore.
-
- Enthusiast
- Posts: 39
- Liked: 10 times
- Joined: May 28, 2013 8:41 am
- Full Name: Danny Thake
- Contact:
Re: Odd Issues with Backup to Tape
Ok, this sounds like it may be ok for us.
If we created a media set at 6am each day, and then a backup starts at 11pm in the evening but rolls into the next day and doesnt finish untill 7am - What will happen in this instance?
If we created a media set at 6am each day, and then a backup starts at 11pm in the evening but rolls into the next day and doesnt finish untill 7am - What will happen in this instance?
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Odd Issues with Backup to Tape
Just a short update: if a job has been already started and it is not finished by the time new media set should be created - it will use the previously created media set but not the new one.backup starts at 11pm in the evening but rolls into the next day and doesnt finish untill 7am
Who is online
Users browsing this forum: No registered users and 13 guests