Creating a backup
Before making any changes to an existing WebSphere installation, it is wise to make a backup. You can back up WAS using the backupConfig.sh
shell command. This will create a ZIP file of your full WAS configuration in case there are problems and you need to resort back to a previously known copy. If you run backupConfig.sh
without any parameters, it will automatically create a date and time stamped .zip
file.
You can get the help for the command by typing ./backupConfig.sh -help
.
Usage: backupConfig [backup_file] [-nostop] [-quiet] [-logfile <filename>] [-replacelog] [-trace] [-username <username>] [-password <password>] [-profileName <profile>] [-help]
An example of running the backupConfig.sh
utility is shown below:
Even though Websphere provides a profile backup facility, it is recommended that you have a backup of the actual file system from a Linux point of view. Often it is easier to not use the Websphere profile backup facility and just TAR...