How to convert the vaulted tapes to the Primary copy?
Updated: 22 May 2010 | 3 comments
I need to convert 100 Vaulted tapes to be the primary for a DR test.
6.5.2
any Idea?
discussion Filed Under:
I need to convert 100 Vaulted tapes to be the primary for a DR test.
6.5.2
any Idea?
Comments
bpchangeprimary
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]
Bob Stump VERITAS - "Ain't it the truth?" Incorrigible punster -- Do not incorrige
I just found that is the
I just found that is the Vault pdf
is there a what to take a list of all the 100 tapes I have and run a script for all these tapes?
Bob you wouldnt have an real exmple?
Bob check this
Bob
check this link
http://bannaych.blogspot.com/2006/03/netbackup-mas...
I wonder if
I run this on the DR server will i make every tape that was vaulted the primary?
Here is an example to make all backups that have copy #2 into primary:
/usr/openv/netbackup/bin/admincmd/bpchangeprimary -copy 2
The default starting date for image acquisition is January 1, 1970.
Continue? y/n (n)y
1 images changed.
Would you like to reply?
Login or Register to post your comment.