04-26-2023 06:58 AM
Hello,
I need down a unit disk, but I have some images that I need to move to tape before shutting it down, any way to force this or move the images directly to tape?
Netbackup 10
Regards.
04-26-2023 08:17 AM
You would have to duplicate the images to move them from disk > tape ...
Can be done easily from the command line if you know the backupids.
(-dstunit is the destination STU (your tape), you can find the name in bpstulist output)
(-dp is the destination tape pool you wish to use)
bpduplicate -backupid nbmaster-02_1682521958 -dstunit tape-stu -dp NetBackup
Duplicate started 04/26/2023 16:14:48
Activity monitor job id = 280
INF - Destination storage unit tape-stu on host reanbur630-02.uklab.veritas.com
INF - Duplicating policy reanbur630-02_small schedule full backup id reanbur630-02_1682521958 copy 1 created on 04/26/2023 16:12:38 on source path @aaaab
INF - Duplicate of backupid reanbur630-02_1682521958 successful.
INF - Status = successfully duplicated 1 of 1 images.
04-26-2023 08:37 AM
What type of disk unit is it ?
You need something like :
If images on the disk stu is under SLP control, a different progress need to be taken.
All operation on the disk stu require it's in the up state, if that is impossible - that another story then.
04-26-2023 09:18 AM
hello,
Is a AdvancedDisk, i use the catalog and i see this disk pool has 10 images, so i need move this image to media id DER000L7.
04-27-2023 12:35 AM
Use the command provided by MPH999 for each of the images.
Once duplicated, you need to expire the disk image - for example :
bpexpdate -backupid nnbmaster-02_1682521958 -d 0 -copy 0
see: https://www.veritas.com/support/en_US/doc/123533878-127136857-0/v123537795-127136857
Strictly speaking you can use bpexpdate on a entire disk stu, but if you specify the wrong storage unit :face_screaming_in_fear:
There is no option to force Netbackup to use a specific tape, so you need to trick Netbackup to do that.