Change the location of backed-up configuration files

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:

    1. Click System Administration > Deployment Manager in the navigation tree of the administrative console. Then, click Administration Services, Repository Service, and Custom Properties.

    2. On the Properties page, click New.

    3. 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

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.