export catalog
Saves the current catalog configuration to a local file.
Syntax
export catalog [-force] sourceOptions
Table 2-49 GDSCTL export catalog Options
| Syntax | Description |
|---|---|
-force |
If not specified, export will be cancelled if there are ongoing GDS operations. |
source |
Name of a file on the same computer where the command is being executed. The configuration will be saved to this file. If the file already exists, it will be overwritten without a prompt. If the file is not writable (for example the path does not exist), you will get an error. |
Usage Notes
You must connect to the catalog database as a user with GDS Administrator privileges before running this command.
It is recommended that you validate the catalog, using the validate catalog command before exporting it.
Example
Save the catalog backup to your home directory.
GDSCTL> export catalog /home/user/cat-201307.backup