Network Deployment (Distributed operating systems), v8.0 > Reference > Command-line utilities


backupConfig command

The backupConfig command is a simple utility to back up the configuration of your node to a file.

By default, all servers on the node stop before the backup is made so that partially synchronized information is not saved.

If you do not have root authority, specify a path for the backup file in a location where we have write permission. The backup file will be in zip format and a .zip extension is recommended.

backupConfig.sh does not preserve file permissions. If restored files are requried to have the original permissions and ownership, use...

...to backup, and

...to restore.

This command uses the user ID and password information in...

To avoid user ID and password prompts, add the user ID and password information to ipc.client.props file.


Usage

Create a backup file that includes the current date:

Create a backup file called myBackup.zip. Do not stop any servers before beginning the backup process:

If you do not specify a backup file name, a unique name is generated.


Parameters

-nostop Tell the backupConfig command not to stop the servers before backing up the configuration
-quiet Suppress the progress information that the backupConfig command prints in normal mode
-logfile file_name Location of the log file to which trace information is written. By default, the log file is named backupConfig.log and is created in the logs directory.
-profileName profile_name Define the profile of the application server process in a multi-profile installation. The -profileName option is not required for running in a single-profile environment. The default for this option is the default profile.
-replacelog Replace the log file instead of appending to the current log
-trace Generate trace information into the log file for debugging purposes
-username user_name User name for authentication if security is enabled in the server; acts the same as the -user option
-user user_name User name for authentication if security is enabled in the server; acts the same as the -username option
-password password Password for authentication if security is enabled in the server
-help Print a usage statement
-? Print a usage statement


See also

Use command-line tools
Back up and restore administrative configuration files
restoreConfig command

+

Search Tips   |   Advanced Search