NAME
bpchangeprimary - promote a copy of a backup to be the pri-
mary copy
SYNOPSIS
/usr/openv/netbackup/bin/admincmd/bpchangeprimary -copy
number | -pool volume_pool | -group volume_group [-id
backup_id] [-M master_server]
/usr/openv/netbackup/bin/admincmd/bpchangeprimary -copy
number | -pool volume_pool | -group volume_group [-sl
schedule_name] [-pn policy_name] [-st schedule_type]
[-pt policy_type] [-cl client_name] [-kw keyword] [-sd
date] [-ed date] [-M master_server]
DESCRIPTION
The bpchangeprimary command lets you change which copy is
the primary copy for a set of backup images. You can choose
the copy to be promoted to primary by specifying a copy
number, volume pool, or volume group. You can apply several
optional criteria to identify the backup images to be
affected.
The primary copy of a backup is the copy used by a restore
process. Ensure that the primary copy is accessible for
restore. For instance, if one copy of a backup was sent off
site, change the primary copy to be the copy that remains on
site.
The bpchangeprimary command finds all backups that match the
specified criteria, and for those images that it finds,
updates their copy number to primary.
If you use the -copy option, the specified copy number
becomes the primary copy. If you use the -group or -pool
option, the process identifies all media IDs that belong to
the specified volume group or volume pool. It then changes
all copies that reside on those media to primary.
Any authorized user can initiate this command.
For more information about NetBackup authorization, refer to
the NetBackup Security and Encryption Guide.
# bpchangeprimary -help
Error - Unknown option specified = -help
Allows changing one copy per image, of a batch of images, to primary.
Usage: bpchangeprimary -copy number | -pool volume_pool | -group volume_group
[-id backup_id] [-M master_server]
bpchangeprimary -copy number | -pool volume_pool | -group volume_group
[-sl schedule_name] [-pn policy_name]
[-st schedule_type] [-pt policy_type]
[-cl client_name]
[-kw keyword]
[-sd mm/dd/yyyy [ HH:MM:SS ] ] [-ed mm/dd/yyyy [ HH:MM:SS ] ]
[-M master_server]