10-04-2017 10:05 AM
On a new master server my first batch of tapes has the wrong media IDs. The robot reads 8 characters and the media ID came through as 1710L5 (last 6 chars of the barcode) instead of N01710 (first 6 chars) like it should.
I fixed the generation rules so the next batch of tapes inserted comes through as N0xxxx like we want, but then there is the issue of that first bunch of tapes.
Can I change the MediaID on these tapes while they have data on them or do I have to delete them?
I don't want to lose the data that is on them so if I can't just change the media ID, as I see it I have two choices...
1. vmdelete them all then reimport the data.
2. Copy all the data to the new tapes, then vmdelete them all and bring them back in as scratch tapes.
Either way is going to tie up my tape drives for a couple days which is not ideal.
Suggestions on which is a better path? and if it is to copy the data how do I do that?
10-04-2017 10:25 AM
Option 2 or wait for them to expire. If you expire and delete the media, then reimport it, it will just pickup the internal media ID again so you'll achieve nothing.
10-04-2017 10:39 AM
10-04-2017 10:47 AM
Some of the images were test backups that I was able to bpexpdate the image, and then vmdelete the tape, then upon inventory it came back in correctly.
Most of the other images are short term retention, so I could live with those until expiration if I had to.
But one client that I back up has a retention of 10 years, so I really don't want to leave it like that.
So can I dig up the backup ID and copy it from one tape to another? then bpexpdate -copy 1 ?
-- Paul
10-04-2017 10:54 AM
10-04-2017 12:20 PM
is there a way to duplicate by media ID instead of by backup ID?
I can see how to do it by backup ID but due to multi-streaming that list is very long. I would rather duplicate the handful of tapes by media ID
-Paul
10-04-2017 12:31 PM
10-04-2017 12:43 PM
[root@ncbakalb008 admincmd]# ./bpduplicate -mpx -dstunit ncbakalb006-hcart2-robot-tld-0 -id 1690L5
Duplicate started 10/04/2017 15:42:22
Activity monitor job id = 1289
INF - found no images or media matching the selection criteria
10-04-2017 01:06 PM
10-04-2017 01:08 PM
So in the screen shot above it shows that there are images on tape 1690L5. But the bpduplicate command is telling me it isn't finding any images
10-04-2017 01:20 PM
10-04-2017 01:58 PM
I don't think duplicating to the same tapes will be an issue because I did a Freeze on all the tapes with the 'bad' media ids, but to be on the safe side, I am adding the -dp to send them to a new pool.
However bpduplicate didnt like the -d 09/30/2017 ... it told me -d was an unrecognized option.
[root@ncbakalb008 admincmd]# ./bpduplicate -mpx -d 9/30/2017 -dstunit ncbakalb006-hcart2-robot-tld-0 -id 1690L5
bpduplicate: unrecognized option -d
so I tried using -s and -e dates, and I tried -hoursago 300 but I am still getting nothing.
[root@ncbakalb008 admincmd]# ./bpduplicate -mpx -s 9/30/2017 -e 10/5/2017 -dp Filenet -dstunit ncbakalb006-hcart2-robot-tld-0 -id 1690L5
Duplicate started 10/04/2017 16:50:38
Activity monitor job id = 1290
INF - found no images or media matching the selection criteria
[root@ncbakalb008 admincmd]# ./bpduplicate -mpx -hoursago 300 -dp Filenet -dstunit ncbakalb006-hcart2-robot-tld-0 -id 1690L5
Duplicate started 10/04/2017 16:51:35
Activity monitor job id = 1291
INF - found no images or media matching the selection criteria
[root@ncbakalb008 admincmd]#
10-05-2017 12:52 AM
Apologies - I did not have manuals or a system handy when I posted last night (from my mobile phone).
Some NBU commands have -d for start-date and others -s.
Okay, let us have a look at the error:
... found no images or media matching...
Looking again at the screenshot on a bigger screen this morning, I see that all the images on this media are shown as 'copy 2' (meaning original backup was duplicated to this tape).
If we look at the command usage: https://www.veritas.com/support/en_US/article.000117315
we see that the default copy number is 1, unless specified with -cn:
-cn copy_number | -primary
Determines the copy number to duplicate. Valid values are 1 through 10. The default is 1.
Please try to add -cn 2.
HTH
10-05-2017 06:44 AM
ok.... yesterday i could not get into this forum with my old ID so I created a new one... now I can get in with my old one, but the new one isn't working. go figure... but I am the same person who started this thread...
Marianne... i added the -cn 2 as you suggested but it failed, telling me that copy 1 already exists, because even though it is already duplicated, the disk copy has not yet been purged.
So I also added destination copy number -dcn 3 and we are cooking now.
[root@ncbakalb008 admincmd]# ./bpduplicate -mpx -cn 2 -dcn 3 -hoursago 300 -dp Filenet -dstunit ncbakalb006-hcart2-robot-tld-0 -id 1690L5
Duplicate started 10/05/2017 09:12:41
Activity monitor job id = 1526
INF - Destination storage unit ncbakalb006-hcart2-robot-tld-0 on host ncbakalb006
INF - Duplicating policy NC_Filenet_Multi_Stream schedule Full backup id ncrsrrrflntp1_1506840708 copy 2 created on 10/01/2017 02:51:48 on source media id 1690L5
INF - Duplicate of backupid ncrsrrrflntp1_1506840708 successful.
INF - Duplicating policy NC_Filenet_Multi_Stream schedule Full backup id ncrsrrrflntp1_1506839432 copy 2 created on 10/01/2017 02:30:32 on source media id 1690L5
INF - Duplicate of backupid ncrsrrrflntp1_1506839432 successful.
INF - Duplicating policy NC_Filenet_Multi_Stream schedule Full backup id ncrsrrrflntp1_1506840302 copy 2 created on 10/01/2017 02:45:02 on source media id 1690L5
INF - Duplicate of backupid ncrsrrrflntp1_1506840302 successful.
INF - Duplicating policy NC_Filenet_Multi_Stream schedule Full backup id ncrsrrrflntp1_1506856505 copy 2 created on 10/01/2017 07:15:05 on source media id 1690L5
INF - Duplicate of backupid ncrsrrrflntp1_1506856505 successful.
INF - Duplicating policy NC_Filenet_Multi_Stream schedule Full backup id ncrsrrrflntp1_1506852794 copy 2 created on 10/01/2017 06:13:14 on source media id 1690L5
INF - Duplicate of backupid ncrsrrrflntp1_1506852794 successful.
INF - Duplicating policy NC_Filenet_Multi_Stream schedule Full backup id ncrsrrrflntp1_1506843765 copy 2 created on 10/01/2017 03:42:45 on source media id 1690L5
Thanks for sticking with me!