01-30-2018 07:01 AM
Hi guys,
I need to remove one storage shelf and take it to remote appliance, before that I need to duplicate all images to another applinace and them expire or delete those images in order to perform a factory reset.
To duplicate all images I`m using this command:
bpduplicate.exe -dstunit stu_disk_ecbpprnb5 -Bidfile C:\tmp\Bidfiles -set_primary 1
Is this right?
When I run this comand with some images I get this:
INF - Skipping copy 2 of backup id clecbphccc_1516863761, is not required copy 1.
Should I be worried about this?
And the last question is: Once the bpduplicate finishes which commad should I use? I think this:
bpimage -deletecopy 1 -backupid #############
The point is once every images gets duplicated, each image should be deleted.
01-30-2018 11:43 PM
bpduplicate without additional options will by default only duplicate copy 1. You can see that that copy 2 is skipped because it is not 'required copy 1'.
Skipping copy 2 of backup id clecbphccc_1516863761, is not required copy 1
I would firstly test bpduplicate with a couple of image-id's before creating a bid-file.
And remember to make a copy of bidfile before staring bpduplicate. The problem with bidfiles is that the contents is read 'somewhere' into NetBackup and the file is immediately removed.
This makes it difficult to trace once the duplication has gone active.
The process to duplicate and expire (bpexpdate of image-id and copy number) is risky due to possible human error.
Rather consider the Appliance migrate utility:
https://www.veritas.com/content/support/en_US/doc/75895731-125242395-0/v126471052-125242395
https://www.veritas.com/content/support/en_US/doc/75895731-125242395-0/v126484687-125242395
02-08-2018 07:24 AM
Hi Marianne,
My appliances are 5230 and both are 2.6.1.2 version so I guess this "Migration tool" is not available here... if I received a message like "Skipping copy 2 of backup id clecbphccc_1516863761, is not required copy 1" that means I dont have to care about clecbphccc_1516863761 because this image is duplicated somewhere else, am I right?
02-09-2018 12:15 AM
Best to find out where exactly all the copies of this image exist:
bpimagelist -backupid clecbphccc_1516863761 -L
02-14-2018 07:05 AM
Hi,
Marianne,
For example If I find some image on appliance1, appliance2 and in tape but I need to recover some space what command should I use to remove image on appliance 1 only on appliance 1, "bpexpate" o "bpimage -deletecopy 1 -backupid ######"???
02-14-2018 10:48 PM
Herewith bpexpdate command reference:
https://www.veritas.com/content/support/en_US/doc/123533878-127136857-0/v123537795-127136857
You are looking for this:
bpexpdate -Bidfile filename | -backupid backup_id -d date | 0 | infinity [-client name] [-copy number]