+

Search Tips   |   Advanced Search

backupConfig command

backupConfig will back up a node configuration to a file.


Steps

  1. From dmgr verify nodes are synced.

  2. Back up configuration.

      cd profile_root/bin directory
      ./backupConfig.sh /path/to/backup_file [options]

    /path/to/backup_file specifies the file to which the backup is written. If we do not specify one, a unique name is generated.

    If we do not have root authority, specify a path for the backup file in a location where we have write permission. The backup file will be in zip format and a .zip extension is recommended.

  3. Restart appservers.


Options

The following example creates a new file that includes the current date:

(iSeries) The following example creates a file called myprofileBackup.zip under the /home/mydir directory for the myprofile profile.

The following example creates a file called myBackup.zip and does not stop any servers before beginning the backup process:

  • restoreConfig command
  • Migration Toolkit on WASdev.

  • Video: Running the backupConfig and restoreConfig commands in WAS (V8.5.5)