Restore usage
Restore uses the following syntax issued from the profile_root/bin directory:
restoreConfig.bat [backup_file]
[-location restore_location]
[-quiet]
[-nowait]
[-logfile file_name]
[-replacelog]
[-trace]
[-username user_ID]
[-password password]
[-profileName profile]
[-help]
where, - backup_file for the Dynamic Workload Console
- is the file (full name and path) used to restore the JazzSM profile configuration. If backup_file is not specified, then the backup file named DynamicWorkloadConsole_installpath/TDWC/backup/WebSphereConfig_backup.zip is used if it exists.
- backup_file for HCL Workload Automation
- is the file (full name and path) used to restore the JazzSM profile configuration. If backup_file is not specified, then the command does not run.
The following is an example of restoreConfig.bat:
C:\Program Files\hcl\TWA0\wastools>restoreConfig.bat WebSphereConfig_2005-12-11.zip
ADMU0116I: Tool information is being logged in file
C:\Program Files\hcl\TWA0\WAS\TWSprofile\logs\
restoreConfig.log
ADMU0128I: Starting tool with the twsprofile profile
ADMU0505I: Servers found in configuration:
ADMU0506I: Server name: server1
ADMU2010I: Stopping all server processes for node DefaultNode
ADMU0512I: Server server1 cannot be reached. It appears to be stopped.
ADMU5502I: The directory C:\Program Files\hcl\TWA0\WAS\TWSprofile\config
already exists; renaming to
C:\Program Files\hcl\TWA0\WAS\TWSprofile\config.old
ADMU5504I: Restore location successfully renamed
ADMU5505I: Restoring file WebSphereConfig_2005-12-11.zip to location
C:\Program Files\hcl\TWA0\WAS\TWSprofile\config
.....................................................................
ADMU5506I: 127 files successfully restored
ADMU6001I: Begin App Preparation -
ADMU6009I: Processing complete.