Promote a copy to a primary copy
Each backup is assigned a primary copy. NetBackup uses the primary copy to satisfy restore requests. The first backup image that is created successfully by a NetBackup policy is the primary backup. If the primary copy is unavailable and a duplicate copy exists, select a copy of the backup and set it to be the primary copy.
NetBackup restores from the primary backup, and Vault duplicates from the primary backup. If your Vault profile performs duplication, you can designate one of the duplicates as the primary. In most circumstances, the copy remaining in the robot is the primary backup. When a primary backup expires, the next backup (if it exists) is promoted to primary automatically.
Use one of the following methods to promote a copy to a primary copy:
Promote a backup copy to a primary copy | |
Promote a copy to a primary copy for many backups using the bpchangeprimary command |
To promote a backup copy to a primary copy
- On the left, click Catalog.
- From the Action list, select Duplicate.
- Select the search criteria to find the image you want to promote. Be sure that you indicate a copy in the Copies field and not Primary copy.
- Click Search.
- Select the image you want to promote. Then click Set primary copy.
After the image is promoted to the primary copy, the Primary copy column immediately reads Yes.
- Click the Activity tab to view the job results.
More information on the bpchangeprimary is available in the NetBackup Commands Reference Guide.
To promote a copy to a primary copy for many backups
- You can also promote a copy to be a primary copy for many backups using the bpchangeprimary command. For example, the following command promotes all copies on the media that belongs to the
b_poolvolume pool. The copies must have been created after August 8, 2022:bpchangeprimary -pool b_pool -sd 08/01/2022
In the next example, the following command promotes copy 2 of all backups of client_a. The copies must have been created after January 1, 2022:
bpchangeprimary -copy 2 -cl client_a -sd 01/01/2022
More Information