09-05-2012 04:50 AM
Hi
I have a very large number of images I would like to duplicate to a new tape device. Instead of doing it manually can I some how create a SLP to duplicate the old images?
Best regards
Martin Petersen
Solved! Go to Solution.
09-05-2012 05:12 AM
No sorry you cannot - a SLP writes its information into the backup when it is done and controls the "lifecycle" of the images
As you have already done your backup you need to use the bpduplicate command to duplicate them
If you make the command vague enough it will do a lot in a single command - the below does everything that used a particular schedule name that was backed up in the last 10000 hours - just make it vague enough to fit your environment:
bpduplicate -dp destinationpool -dstunit destinationstorageunit -rl yourretentionlevelnumber -mpx -fail_on_error 0 -sl yourschedulename -hoursago 10000
Hope this helps
09-05-2012 05:12 AM
No sorry you cannot - a SLP writes its information into the backup when it is done and controls the "lifecycle" of the images
As you have already done your backup you need to use the bpduplicate command to duplicate them
If you make the command vague enough it will do a lot in a single command - the below does everything that used a particular schedule name that was backed up in the last 10000 hours - just make it vague enough to fit your environment:
bpduplicate -dp destinationpool -dstunit destinationstorageunit -rl yourretentionlevelnumber -mpx -fail_on_error 0 -sl yourschedulename -hoursago 10000
Hope this helps
09-05-2012 05:39 AM
Alright, thanks a lot for the reply.
Would be nice to have some way of automatically ensure that every image gets duplicated.
Have an awesome day.
//Martin Petersen
09-05-2012 05:59 AM
Hope this has helped - if you tell us exactly what you have and what you need duplicating then we could offer the best command to use
If you are happy with the info dont forget to close the thread by using the "Mark as solution" the answer that helped the most to assist other looking for a similar issue in the future
09-05-2012 06:21 AM
Basically we have thousands of images ranging 10 months back.
I'll think I will just use the "duplication" GUI and do a excel or something to keep track of successes and failures. :)
Thanks