|Article:HOWTO43774|||||Created: 2011-03-07|||||Updated: 2011-03-07|||||Article URL http://www.symantec.com/docs/HOWTO43774|
nbcatsync — run a utility that resyncs the disk media IDs in the image catalog after catalog recovery operations complete
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.
- -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
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.
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.
# 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
Article URL http://www.symantec.com/docs/HOWTO43774