Migrating Images between Netbackup Domains
- 11 years ago
You cannot AIR or duplicate images from the past using a SLP - but your thoughs about taking it to the 5220 forst and the using AIR via the nbreplicate command would work
Just duplicate using the catalog section in the Admin Console and while there copy and paste the list out so that you have a list of images and then do a quick script to nbreplicate those duplicated images using AIR.
I dont think you will be able to automate it but it shouldn't take much to do it all manually and it does actually need an SLP creating at the destination site before you run the command.
So if you create the SLP at the target server named reverse-air, the username is root and for example the dedupe password over there is cbdb12343, then assuming NetBackup is installed on the C drive and the 5220 duplicated image is copy 2 you can do this ....
Make a file named images.txt and put it on the root of the C drive on the Master. After copying the image list from the catalog section (highlight all and Ctl-C) paste it straight into excel and then copy the imageid column and paste it straight into the images.txt file so that each image appear on a new line.
Next make a replication.bat file somewhere and in it put the following (edited as appropriate for your values) - note that this is all on one line:
for /f %%a in (C:\images.txt) do "c:\program files\veritas\netbackup\bin\admincmd\nbreplicate" -backupid %%a -cn 2 -rcn 102 -target_sts 5220_site_2 -slp_name reverse-air -target_user root -target_pwd cbdb12343
Try it out with one image first to see if it works
Hope this helps