tw_backup utility enables you to create a backup of a BMC Discovery system on a local directory on the appliance, an SSH enabled remote system, or a Windows share. To use the utility, type the following command:
- options are any of the options described in the following table and the common command line options described in Using command line utilities.
Common password options are described in this table
Common password options are described in this table to make it clear whether the password referred to is for the local or remote system.
Backing up the system when a baseline run is in progress results in critical baseline alerts
Baseline is run periodically by the BMC Discovery system. Should baseline be running when a backup is started critical baseline alerts may be reported. The backup is unaffected by these alerts. The automatic baseline check schedule can be modified using the tw_cron_update. In order to minimize the chance of alerts no new periodic baseline checks are performed during the backup.
Command Line Option
Specifies a remote backup directory relative to the user's home directory on SSH servers, and the top-level share directory in Windows shares. This option is required for SSH and Windows shares, unless the alternative
Create a local backup in the
Create a backup on a Windows share.
Create a backup on a remote SSH server.
Specify an email address to receive notification when the backup completes. This depends on email being correctly configured on the appliance.
|Enables you to read the encryption passphrase from a file descriptor.|
|Enables you to read the encryption passphrase from a file.|
Exclude sensitive data from the backup. Appliance UI users are always backed up and restored, regardless of this setting.
Unlock the system after a previous backup has failed to complete, starting services if possible.
Force the creation of a backup when the services are down. This can omit some auditing of the action.
Display help on standard options and exit.
The hostname or IP address of the remote host.
Do not verify (md5) the backup after it has been created.
Enter some free text notes about the backup.
Overwrite the existing local backup.
The user to run the utility as. This has to be a valid BMC Discovery UI user such as the system user, not a username used to access the command line via SSH.
Specifies the password of the BMC Discovery user. If no password is specified, you are prompted for one. This is only relevant for utilities that have the
Specifies a file from which the password is to be read. This is only relevant for utilities that have the
The port on the remote Remote SSH server. Only required if the default SSH port (22) is not used.
|Reduce database backup size (slower to restore)|
The password for the remote user on the remote system. For SSH servers or Windows shares.
The username for the remote user on the remote system. For SSH servers or Windows shares. To specify the domain for Windows shares, use the following syntax:
The share name of the remote Windows share. For example
Stop services to create the backup. Required when creating a backup.
The UNC path for the Windows share. For example
Display version information and exit.
In the following examples, the local username is system and the password is not specified on the command line. The remote SSH username is tideway and the password is
password. The remote Windows share is called
remshare, the corresponding username is
remdom/tideway and the password is
The utility prompts for the local password after you enter the command. Type the commands on a single line; line breaks are provided in the examples to make them easier to read.