cat_import

Article:HOWTO72930  |  Created: 2012-02-13  |  Updated: 2012-11-20  |  Article URL http://www.symantec.com/docs/HOWTO72930
Article Type
How To


Environment

Subject


Name

cat_import — migrate catalog image metadata from flat ASCII image header files into the NetBackup database (NBDB)

SYNOPSIS

cat_import -all | -client name | -backupid backupid [-delete_source] [-replace_destination] [-staging] [-base directory_name]

On UNIX systems, the directory path to this command is /usr/openv/netbackup/bin/

On Windows systems, the directory path to this command is <install_path>\NetBackup\bin\

DESCRIPTION

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.

OPTIONS

-all

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.export to 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.

-delete_source

Deletes the original image metadata from the source location.

-replace_destination

Forces the utility to overwrite any pre-existing image metadata in the destination location.

-staging

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.

EXAMPLES

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

SEE ALSO

See cat_convert.

See cat_export.


Legacy ID



v62313450_v55367249


Article URL http://www.symantec.com/docs/HOWTO72930


Terms of use for this information are found in Legal Notices