+

Search Tips   |   Advanced Search

backupConfig command

The backupConfig command is a simple utility to back up the configuration of the node to a file.

Supported configurations:

This article is about configuration migration, such as migrating deployment managers and federated nodes in a network deployment environment. The Application Migration Toolkit for WebSphere Application Server provides support for migrating applications from previous versions of WAS to the latest product version. sptcfg

By default, all servers on the node stop before the backup is made so that partially synchronized information is not saved. 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.

In a UNIX or Linux environment, the backupConfig command does not save file permissions or ownership information. The restoreConfig command uses the current umask and effective user ID (EUID) to set the permissions and ownership when restoring a file. If it is required that the restored files have the original permissions and ownership, use the tar command (available on all UNIX or Linux systems) to back up and restore the configuration.

To avoid user ID and password prompts, add the user ID and password information to...

Issue the command from the profile_root/bin directory.

Command syntax...

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


Parameters

The following options are available for the backupConfig command:


Usage

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

(zos)

(iseries)

(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:

(zos)

(iseries)


Related information:

  • restoreConfig command