Forum Discussion
The command you provide will create two new copies.
I assume that you want to create one copy of the backup with the backupID server01.net_1705357985. The simplest command that does the job is (-v and -L are optional but recommended)
bpduplicate -v -backupid server01.net_1705357985 -dp Mypoolx -dstunit mylibrary-01-hcart3-robot-tld-0 -L copi.wri -rl 100
All other parameters are not needed. You may use them as search criteria if you do not use backupid.
If you need to create two copies from a backupid then use
bpduplicate -v -number_copies 2 -backupid server01.net_1705357985 -dp Mypool1,Mypool2 -dstunit mylibrary-01-hcart3-robot-tld-0,mylibrary-01-hcart3-robot-tld-0 -L copi.wri -rl 100,100
-npc is to change the primary copy, and it is not essential. If I remember correctly, you cannot use it with other paramiters but only with backupid to change the primary copy, and it it does not do duplications. To change the primary copy during duplication, use -set_primary.
If you omit set_primary, then the infinity backup will become primary when the first copy expires.
Last, you can not have two primary copies. Only one copy is the primary and is used for restores.
Thanks StefanosM , I will try it and give the community feedback.
- KBfinder5063 months agoLevel 3
Hi people at first try
Activity monitor job id = 1189
Copy 1 activity monitor job id = 1190
Copy 2 activity monitor job id = 1191
The number of specified storage units must be equal to the number of copiesSo weirdly have to specify the same -dstunit mylibrary-01-hcart3-robot-tld-0 twice separated with comas.
Related Content
- 10 years ago
- 6 months ago
- 10 years ago