nbcatsync
| Article:HOWTO43774 | | | Created: 2011-03-07 | | | Updated: 2011-03-07 | | | Article URL http://www.symantec.com/docs/HOWTO43774 |
Name
nbcatsync — run a utility that resyncs the disk media IDs in the image catalog after catalog recovery operations complete
DESCRIPTION
nbcatsync is a post-processing utility that is used in the catalog restore process.
After bprecover restores the actual catalog files, the nbcatsync utility can do the following:
You can easily create a list of affected backup images for any given catalog restore option. The catalog backup image .f file lists the images that the catalog restore recovers. This file lists the images to which you can constrain the operations of the nbcatsync utility.
The utility uses the current device configuration in EMM to obtain a list of disk volumes to scan for the following: image fragments that are found in the image list. After the EMM database, the images on currently configured storage, and the image catalog have all been reconciled, nbcatsync tries to turn on normal NetBackup processing.
OPTIONS
- -backupid catalog_backup_id
Specifies the catalog backup ID that contains a set of backup images. This option enables nbcatsync to fix disk media ID references in the image headers that are restored from this catalog backup image ID.
- -copy number
Specifies the copy of the catalog to be restored. This option allows catalog recovery from a non-primary copy.
- -dryrun
Gives the user a chance to validate actions nbcatsync normally perform. It lists all the modifications that can occur if the nbcatsync command does run.
- -keepgoing
Ignores bad disk volumes. Otherwise, nbcatsync aborts when it encounters any unexpected errors while it looks for images on a disk volume.
- -no_sync_slp
Prevents the scrubbing of the storage lifecycle policy which removes the EMM image records and sets the SS_COMPLETED state in the image catalog to zero. Normally, nbcatsync disassociates images from any storage lifecycle policy processing that is performed at the primary site. Then nbcatsync can apply appropriate storage lifecycle policy settings for the DR site on the fixed images. However, when -no_sync_slp is specified, nbcatsync does not change these settings of fixed images, so use this option with care.
- -prune_catalog
Prunes all non-existent images. -prune_catalog removes copies of images on disk volumes that are not found on any of the disk volumes at the DR site. If none of the copies of an image are located, the image itself is deleted.
- -sync_dr_filedr_file_path
Specifies the DR file at the DR site that corresponds to the catalog backup image to restore from. Do not put a space between the -sync_dr_file option and the dr_file_path variable.
EXAMPLES
Example 1 - Fix the disk media ID references in DR file test.txt, so that bprecover can find the catalog backup image. At the DR site, run the following command:
# nbcatsync -sync_dr_file test.txt
Example 2 - Perform a dry run of fixing the disk media ID references in the image headers of image ID rg9pctrain05_1254127131 restored from the catalog backup. When you are satisfied with the results, you can repeat the command without the -dryrun option.
# nbcatsync -backupid rg9pctrain05_1254127131 -dryrun
|
|
Legacy ID
v38210908_v55366869
Article URL http://www.symantec.com/docs/HOWTO43774
Terms of use for this information are found in Legal Notices









Thank you.