Steps to convert a catalog image from binary to ASCII, when restoring from an image with a large number of files
Description
Steps to convert a catalog image from binary to ASCII, when restoring from an image with a large number of files
Warning: Use caution when running the following steps. Failure to follow these steps exactly may cause catalog corruption. This procedure should only be used when necessary to restore from backup images that have a large number of files (normally in excess of 1 million).
Steps to convert a catalog image from binary to ACSII:
Locate the image file in the /usr/openv/netbackup/db/images/<client_name>/<1xxx000000> directory required for the restore.
For information on how to determine which image is required for a restore, please see document, https://www.veritas.com/docs/100016129
Make a copy of the [ filename.f ] file and put it in a Save subdirectory.
Run the following command:
/usr/openv/netbackup/bin/cat_convert -v -b2a [ filename.f ]
Warning: Use caution with this command because options exist that can change individual files, directories, or a complete database. For more information on cat_convert and its options, please see the Veritas NetBackup™ Administration Guide Volume I, and/or the Veritas NetBackup™ Commands Reference Guide. https://www.veritas.com/docs/100040135
Once the cat_convert process is complete, delete the original [ filename.f ] file and rename the ASCII file to [ filename.f ].
Example:
- ASCII file name is: FILE_BLA_BLAH_xxxxxxxxxx_FULL_ascii.f
- Move this file to: FILE_BLA_BLAH_xxxxxxxxxx_FULL.f
Initiate the restore.