cancel
Showing results for 
Search instead for 
Did you mean: 

Move imagen on disk to tape - netbackup 10

robertoaxity
Moderator
Moderator
   VIP   

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.

4 REPLIES 4

mph999
Level 6
Employee Accredited

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.

Nicolai
Moderator
Moderator
Partner    VIP   

hi @robertoaxity 

What type of disk unit is it ? 

You need something like :

  • Check the files are live images using bpimagelist 
  • If live backup images, is there more than one copy of the image (indicate disk image has been duplicated). bpimagelist is your friend again.
  • Expire the disk image using bpexpdate and by using the -copy operator.

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.

robertoaxity
Moderator
Moderator
   VIP   

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.

Nicolai
Moderator
Moderator
Partner    VIP   

Hi @robertoaxity 

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.