cancel
Showing results for 
Search instead for 
Did you mean: 

command line: HOW move a tape from default pool(netBackup) to a new pool?????

MariusD
Level 6

I have created 37 volume pools and now I want to move 37 tapes from default pool (Netbackup pool) to every pool which was created. All of this in command line.

 

HOW??? 

 

I have  try with:

 

vmpool -create -pn FULL17 -description "QUARTERLY1"
vmadd -m 4640L4 -mt HCART -b LJ4640L4 -p 41

or
vmchange -p 41 -m 4640L4 -pn FULL17

 

this commands create a volume pool with name: "FULL17" but not add a tape 4640L4 (media ID) in.

 

 

Any help?????

1 ACCEPTED SOLUTION

Accepted Solutions

venglinski
Level 3
Partner

Hi,

if your media already in NetBackup pool, try this:

vmchange -h $YOUR_VolumeDB_HOST -p $DEST_POOL_NUMBER -m $TARGET_MEDIA_ID

 

Leonid

View solution in original post

4 REPLIES 4

venglinski
Level 3
Partner

Hi,

if your media already in NetBackup pool, try this:

vmchange -h $YOUR_VolumeDB_HOST -p $DEST_POOL_NUMBER -m $TARGET_MEDIA_ID

 

Leonid

Ashz_Tomz
Level 5
Partner Accredited Certified
its good to use the vmadm and move the contents to a pool instead

MariusD
Level 6

Hi Leonid,

 

 

i have tried:

"

vmpool -create -pn FULL17 -description "QUARTERLY1"
vmchange -h ddcw1-m7002 -p 41 -m 4640L4

"

but don´t work. Volume_database_host what ist this???? My Master Server??

MariusD
Level 6

Now work. I have write the destination_pool_number wrong. 

Thank You Leonid for your help.

 

Best regards,

Marius D.