Change the location of backed-up configuration files
Overview
During administrative processes like adding a node to a cell or updating a file, configuration files are backed up to a back-up location. The default location for the back-up configuration directory is CONFIG_ROOT/backup. Change the location by doing either of the following:
- Set the system variable was.repository.backup to the location you want as the repository back-up directory. Set the system variable when launching a Java process using the -D option. For example, to set the default location of the repository back-up directory, use the following option:
-Dwas.repository.backup=%CONFIG_ROOT%/backup
- Use the administrative console to change the location of the repository back-up directory for each server configuration. For example, on the Network Deployment product, do the following to change the setting for a deployment manager:
- Click System Administration > Deployment Manager in the navigation tree of the administrative console. Then, click Administration Services, Repository Service, and Custom Properties.
- On the Properties page, click New.
- On the settings page for a property, define a property for the back-up file location. The key for this property is was.repository.backup. The value can include WebSphere Application Server variables such as ${WAS_TEMP_DIR}/backup. Then, click OK.
The system property set using the first option takes precedence over the configuration property set using the second option.
Working with server configuration files