10-05-2009 05:24 AM
Solved! Go to Solution.
10-05-2009 05:48 AM
If both <old_server> and <new_server> are at NetBackup 6.0MP7 or later, or NetBackup 6.5.2 or later, run the following command:
If <old_server> or <new_server> is at a version earlier than NetBackup 6.0MP7, or NetBackup 6.5.2, run the following command for each volume that has active images as identified in step 1:
bpmedia -movedb -ev media_ID -oldserver <old_server> -newserver <new_server>10-05-2009 05:48 AM
If both <old_server> and <new_server> are at NetBackup 6.0MP7 or later, or NetBackup 6.5.2 or later, run the following command:
If <old_server> or <new_server> is at a version earlier than NetBackup 6.0MP7, or NetBackup 6.5.2, run the following command for each volume that has active images as identified in step 1:
bpmedia -movedb -ev media_ID -oldserver <old_server> -newserver <new_server>10-05-2009 06:07 AM
10-05-2009 07:05 AM
10-05-2009 07:40 AM
10-05-2009 07:52 AM
10-05-2009 08:24 AM
for i in `bpmedialist -mlist -l -h <old_server> | awk '{print $1}'` do bpmedia -movedb -ev $i -oldserver <old_server> -newserver <new_server> echo "Moving MediaID $i" done
10-05-2009 08:50 AM
10-05-2009 01:20 PM
bpmedialist -mlist -l -h <old_server>Paste it into EXCEL. Possibly convert text to columns. Anyway the first column should be mediaID's Take the first column value in another cell formula, that uses the string
bpmedia -movedb -ev <column1> -oldserver <old_server> -newserver <new_server>NOTE: Follow string convetion usage in EXCEL with & and " to wrap the text. Then just drag this down across all 200 media row entries Copy the output to text file. Save as .bat file and run.