- Use the restoreConfig
command
to restore a profile configuration using an archive previously generated
using backupConfig.
- If the configuration to be restored exists, the config directory is renamed to config.old (then config.old_1, etc.) before the restore begins.
- The command then restores the entire contents of the <profile_home>/config directory.
- By default, all servers on the node stop before the configuration restores so that node synchronization does not occur during the restoration.
- Executing restoreConfig from the <was_home>/bin directory without the -profileName parameter will restore the default directory.
- Executing restoreConfig from the <profile_home>/bin directory without the -profileName parameter will restore that profile.
- restoreConfig.bat <backup_file> restores the node configuration to the WAS_HOME/config directory structure
RestoreConfig
<backup_file> [options]
-nowait
|
Do not wait for
the servers to be stopped before backing up the configuration.
|
-quiet
|
Suppresses the
printing of progress information.
|
-location
<directory_name>
|
Location of the backup file.
|
-logfile
<fileName>
|
Location of the
log file to which information gets written. The default is
<profile_home>/logs/backupConfig.log.
|
-profileName
<profile>
|
Profile to run the
command against. If the command is run from
<was_home>/bin and
-profileName is not specified, the default profile is
used. If run from <profile_home>/bin, that profile
is used.
|
-replacelog
|
Replaces the log
file instead of appending to the current log.
|
-trace
|
Generates trace
information into the log file for debugging purposes
|
-username
<name>
|
User name for
authentication if security is enabled in the serve
|
-password
<password>
|
Specifies the
password for authentication if security is enabled.
|
No comments:
Post a Comment