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 backup location. The default location for the backup 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 backup directory. Set the system variable when launching a Java process using the -D option. For example, to set the default location of the repository backup directory, use the following option:

    -Dwas.repository.backup=%CONFIG_ROOT%/backup
    

  • Use the administrative console to change the location of the repository backup 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 backup file location. The key for this property is was.repository.backup. The value can include WAS 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.


 

Related Tasks


Working with server configuration files