tw_restore
The tw_restore utility enables you to restore a BMC Discovery backup from a local directory on the appliance, an SSH enabled remote system, or a Windows share. The utility can be used on an appliance where the UI cannot be started. To use the utility, type the following command:
where:
- options are any of the options described in the following table and the common command line options described in Using-command-line-utilities.
The [confluence_table-plus] macro is a standalone macro and it cannot be used inline. Click on this message for details.
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.
Verifying a local backup
Verifying a remote backup on an SSH server
--remote-user=tideway --remote-password=password --host=de-32.bmc.com
--username system
Verifying a remote backup on a Windows share
--backup-dir=2012-10-08_115740_addm_backup --remote-user=remdom\/tideway
--remote-password=password --host=192.168.1.101 --username system
You must escape / characters as shown in the Windows share examples.
Performing a restore from a local backup
Performing a restore from an SSH server
--remote-user=tideway --remote-password=password --host=de-32.bmc.com --username system
Performing a restore from a Windows share
--backup-dir=2012-10-08_115740_addm_backup --remote-user=remdom\/tideway
--remote-password=password --host=192.168.1.101 --username system
You must escape / characters as shown in the Windows share examples.