Steps to convert a catalog image from binary to ASCII, when restoring from an image with a large number of files

Article: 100016128
Last Published: 2013-10-23
Ratings: 0 1
Product(s): NetBackup & Alta Data Protection

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:

  1. Locate the image file in the /usr/openv/netbackup/db/images/<client_name>/<1xxx000000> directory required for the restore.

  2. Make a copy of the [ filename.f ] file and put it in a Save subdirectory.

  3. 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

  4. 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
  5. Initiate the restore.

Was this content helpful?