Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
5.11.6 Restoring the application server configuration The scripts restoreConfig.sh (UNIX or Linux) and restoreConfig.bat (Windows) are a simple utility to restore the configuration of your application server after backing up the configuration using the backupConfig command. See 5.11.5, "Backing up the application server configuration" on page 360. By default, the application server is stopped before the configuration is restored. If the configuration directory already exists, it is renamed before the restoration occurs. To restore the application server using a .zip file created by a previous backupConfig.sh operation, run the following command from the TWShome/wastools directory: $ ./restoreConfig.sh filename.zip -user username -password password Example 5-17 shows the sample output. Example 5-17 Restoring application server configuration files $ ./restoreConfig.sh ~/tmp/wasBackup.zip -user tws830 -password my_password ADMU0116I: Tool information is being logged in file /usr/local/tws830/appserver/profiles/twsprofile/logs/restoreConfig.log ADMU0128I: Starting tool with the twsprofile profile ADMU0505I: Servers found in configuration: ADMU0506I: Server name: server1