tw_backup
The 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:
tw_backup [options]
where:
- options are any of the options described in the following table and the common command line options described in Using-command-line-utilities.
User examples
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 password.
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.
Create local backup
$TIDEWAY/bin/tw_backup --stop-services --backup-local --username=system
Create backup on a SSH enabled remote system
$TIDEWAY/bin/tw_backup --stop-services --backup-ssh --backup-dir=/addm_backups --remote-user=tideway
--remote-password=password --host=de-32.bmc.com
--username=system
--remote-password=password --host=de-32.bmc.com
--username=system
Create backup on a remote Windows share
$TIDEWAY/bin/tw_backup --stop-services --backup-smb --reduce-db --remote-user=username
--remote-password=password --unc-path=\\\\windows.bmc.com\\backups
--username=system
--remote-password=password --unc-path=\\\\windows.bmc.com\\backups
--username=system
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*