|Article:HOWTO72930|||||Created: 2012-02-13|||||Updated: 2012-11-20|||||Article URL http://www.symantec.com/docs/HOWTO72930|
cat_import — migrate catalog image metadata from flat ASCII image header files into the NetBackup database (NBDB)
The cat_import utility migrates catalog image metadata from flat ASCII image header files into the NetBackup database (NBDB) or a staged copy of NBDB. You can use the cat_import command line to move all image metadata or a subset of metadata based on client (-client) or backup ID (-backupid).
The cat_import utility can also be used with the cat_export command in the following ways: as part of a disaster recovery scenario or to relocate image metadata information from one repository to another. More information is available on NetBackup disaster recovery.
Refer to Disaster Recovery in the NetBackup Troubleshooting Guide.
You must have administrator privileges to run this command.
Imports the catalog image data of all the clients of the master server.
- -base directory_name
Changes the source directory of the image metadata from the default directory
netbackup/db.exportto the specified directory name.
- -backupid backupid
Imports the catalog image data of the specified backup ID.
- -client name
Imports the catalog image data of the specified client.
Deletes the original image metadata from the source location.
Forces the utility to overwrite any pre-existing image metadata in the destination location.
Specifies the copy of the NBDB in the staging directory to be used as the destination of the import operation instead of the NBDB itself. Use this operation in combination with the cat_export command to insert the image metadata into another copy of NBDB.
Example 1 - Import all image metadata from flat ASCII image header files:
# cat_import -all
Example 2 - Import only the image metadata that is related to client
hostname1 from associated flat ASCII image header files:
# cat_import -client hostname1
Article URL http://www.symantec.com/docs/HOWTO72930