-
- Veteran
- Posts: 254
- Liked: 14 times
- Joined: Nov 23, 2015 10:56 pm
- Full Name: Peter Shute
- Contact:
Automatic tape naming, using new tapes, etc
Whenever I use a new tape, I get an email asking me to insert a tape, even though there's one already inserted. I'm guessing this is because I haven't made that tape part of the media pool it's expecting to use. Correct? Should I do that first? It eventually says it's "Moving Tape x to media pool free", and the backup starts. Is this how it's supposed to work?
I then find it's named the tape "Tape n", where n is the next available number. If I rename it, say from "Tape 4" to "Tape 4 - weekly 1", it'll give the next tape the same number. I was thinking I should include the number it gave it in my names, but if I'm going to end up with them all called Tape 4, there's no point. Should I just ignore this, and rename them as I want?
I then find it's named the tape "Tape n", where n is the next available number. If I rename it, say from "Tape 4" to "Tape 4 - weekly 1", it'll give the next tape the same number. I was thinking I should include the number it gave it in my names, but if I'm going to end up with them all called Tape 4, there's no point. Should I just ignore this, and rename them as I want?
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Automatic tape naming, using new tapes, etc
If a media doesn't belong to existing or free media pool, a tape job pointed to the said media pool won't be able to use it. Thus, you need to move media either to the given or free media pool manually.
Do you use barcodes?
Thanks.
Do you use barcodes?
Thanks.
-
- Veteran
- Posts: 254
- Liked: 14 times
- Joined: Nov 23, 2015 10:56 pm
- Full Name: Peter Shute
- Contact:
Re: Automatic tape naming, using new tapes, etc
That's what I would have thought, hence the email alert. But then why does it move it to the free pool itself and start using it?v.Eremin wrote:If a media doesn't belong to existing or free media pool, a tape job pointed to the said media pool won't be able to use it. Thus, you need to move media either to the given or free media pool manually.
No. We've only got a single tape drive, no auto loader, and assumed it can't read barcodes. Is there a possibility that it could? I'm guessing not.Do you use barcodes?
-
- Veteran
- Posts: 254
- Liked: 14 times
- Joined: Nov 23, 2015 10:56 pm
- Full Name: Peter Shute
- Contact:
Re: Automatic tape naming, using new tapes, etc
Assuming our drive doesn't support barcodes, where is it storing the tape names? Does it store the name on the tape itself, on the cartridge chip, or only in Veeam's database? Is there a risk it'll ever get the names wrong?
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Automatic tape naming, using new tapes, etc
Is a brand new tape, a tape written previously by 3-party solution or a tape written by VB&R?That's what I would have thought, hence the email alert. But then why does it move it to the free pool itself and start using it?
To the best of my knowledge, standalone drives are "blind", it's medium changer in libraries that makes device see the barcodes.No. We've only got a single tape drive, no auto loader, and assumed it can't read barcodes. Is there a possibility that it could? I'm guessing not.
Thanks.
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Automatic tape naming, using new tapes, etc
According to my test results, it stores the name in local catalogue only, so proper labeling and naming the tapes properly within one backup console is almost a mandatory.Does it store the name on the tape itself, on the cartridge chip, or only in Veeam's database? Is there a risk it'll ever get the names wrong?
-
- Veteran
- Posts: 254
- Liked: 14 times
- Joined: Nov 23, 2015 10:56 pm
- Full Name: Peter Shute
- Contact:
Re: Automatic tape naming, using new tapes, etc
It's a brand new tape.v.Eremin wrote:Is a brand new tape, a tape written previously by 3-party solution or a tape written by VB&R?
-
- Veteran
- Posts: 254
- Liked: 14 times
- Joined: Nov 23, 2015 10:56 pm
- Full Name: Peter Shute
- Contact:
Re: Automatic tape naming, using new tapes, etc
Thanks, I'm also wondering how reliably Veeam can link that name to that physical tape. I assume it has some way of telling tapes apart, like a unique serial number or something. Is that stored on the tape - written by Veeam - or in the cartridge chip? Is there a chance it will be wiped after erasing the tape, causing Veeam to become confused about which name I've given it?Dima P. wrote:According to my test results, it stores the name in local catalogue only, so proper labelling and naming the tapes properly within one backup console is almost a mandatory.
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Automatic tape naming, using new tapes, etc
Yes. The “internal” ID (I call it internal because it’s invisible for an end-user) is stored both on tape and in backup server's catalogueunique serial number or something
Well, after you are erasing the tape media it should keep the given name (since its linked with this ID), however, when you are Removing tape media from catalogue – it loses the links between media name and internal ID.Is there a chance it will be wiped after erasing the tape, causing Veeam to become confused about which name I've given it?
This is actually a good catch, thanks for bringing our attention to this scenario. I believe the best way in terms of blind tape management is to somehow keep the given name on the media – will discuss with the team how this could be accomplished. Thanks again!
-
- Veteran
- Posts: 254
- Liked: 14 times
- Joined: Nov 23, 2015 10:56 pm
- Full Name: Peter Shute
- Contact:
Re: Automatic tape naming, using new tapes, etc
If the internal id is written to the tape, how does it retain it after erasing? Does it rewrite it? Is the cartridge memory not involved at all?Dima P. wrote:Well, after you are erasing the tape media it should keep the given name (since its linked with this ID), however, when you are Removing tape media from catalogue – it loses the links between media name and internal ID.
This is a problem that cannot happen with barcoded tapes and loaders, correct? Would I be right in assuming that emphasis is given to using Veeam with loaders? I initially found the tree shown in the Tape Infrastructure section confusing. It doesn't make full sense to someone with a standalone drive, as it lists the drive under itself. In orderr to eject or inventory, I have to right click in different places that don't seem logical. I'm hoping we don't come across more things that are poorly supported with standalone drives.This is actually a good catch, thanks for bringing our attention to this scenario. I believe the best way in terms of blind tape management is to somehow keep the given name on the media – will discuss with the team how this could be accomplished. Thanks again!
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Automatic tape naming, using new tapes, etc
Mind me asking before I answer, why do you care about the given tape name when the data itself was erased? Is this somehow referring to your internal media rotation and labeling?
Yes, barcode lables solve this issue.This is a problem that cannot happen with barcoded tapes and loaders, correct?
You won’t find any – standalone drive users are treated with the same respect as regular library owners.Would I be right in assuming that emphasis is given to using Veeam with loaders?... I'm hoping we don't come across more things that are poorly supported with standalone drives.
-
- Veteran
- Posts: 254
- Liked: 14 times
- Joined: Nov 23, 2015 10:56 pm
- Full Name: Peter Shute
- Contact:
Re: Automatic tape naming, using new tapes, etc
I wouldn't normally erase a tape, only overwrite. I was just trying to see how stable these names are.Dima P. wrote:Mind me asking before I answer, why do you care about the given tape name when the data itself was erased? Is this somehow referring to your internal media rotation and labeling?
Yes, these tapes are part of a rotation scheme - weekly 1, weekly 2, etc. If I ever want to restore data from a particular time, I need to be able to identify the physical tape.
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Automatic tape naming, using new tapes, etc
Thanks for the heads up! The behavior is following:
‘remove from catalogue’ will force VBR to forget the given name. Catalogue Tape will recognize this tape as recorded by Veeam B&R but won’t set the name to the correct one (as I said before this needs to be corrected)
‘mark as free’ – name remains
‘Erase Tape (both short/long)’ – name remains
Keeping this in mind, you scenario will perfectly work: you can label the tapes with custom given names and overwrite such tapes according to media pool retention – given tape should remain in the UI.
‘remove from catalogue’ will force VBR to forget the given name. Catalogue Tape will recognize this tape as recorded by Veeam B&R but won’t set the name to the correct one (as I said before this needs to be corrected)
‘mark as free’ – name remains
‘Erase Tape (both short/long)’ – name remains
Keeping this in mind, you scenario will perfectly work: you can label the tapes with custom given names and overwrite such tapes according to media pool retention – given tape should remain in the UI.
-
- Veteran
- Posts: 254
- Liked: 14 times
- Joined: Nov 23, 2015 10:56 pm
- Full Name: Peter Shute
- Contact:
Re: Automatic tape naming, using new tapes, etc
Thanks. Just out of interest though, do you have an answer to my other question:
If the internal id is written to the tape, how does it retain it after erasing? Does it rewrite it? Is the cartridge memory not involved at all?
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Automatic tape naming, using new tapes, etc
The said ID is kept both in the tape headers (not in the chip memory) and in Veeam B&R catalogue. Thanks.
-
- Veteran
- Posts: 254
- Liked: 14 times
- Joined: Nov 23, 2015 10:56 pm
- Full Name: Peter Shute
- Contact:
Re: Automatic tape naming, using new tapes, etc
I'm looking at my tape job history, and I see all the Backup To Tape jobs I've done. How do I tell which tape each job used if I've renamed tapes since then?
The only place I can see a tape name is in the report, and it just tells me the old name.
The only place I can see a tape name is in the report, and it just tells me the old name.
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Automatic tape naming, using new tapes, etc
It's not possible. If you rename tape manually, the old job sessions as well as reports will still preserver tape names that were actual at that time of backup. Thanks.How do I tell which tape each job used if I've renamed tapes since then?
Who is online
Users browsing this forum: Google [Bot] and 15 guests