Use the restore vapp command to restore a single VMware vApp.
To use this command, you must have a license to use Tivoli® Storage Manager for Virtual Environments V7.1, or later. Before you can use this command, the Tivoli Storage Manager nodes must be configured for the vCloud environment. In the Data Protection for VMware vCloud GUI, go to the Configuration window and click Run Configuration Wizard.
This command is valid for Windows clients that are configured to perform vCloud Director vApp backups.
This command is valid for Linux clients that are configured to perform vCloud Director vApp backups.
>>-Restore VAPP-- --vapp_specification-- -----------------------> >-- -ASNODENAME=--provider_vdc_node-- --VAPPName=--new_vapp_name--> >-- -- -VCDHost=--vCloud_server-- -- -VCDUser=--vCloud_administrator-- -- -VCDPw=--password--> >--VMCHost=--hostname-- --VMCUser=--username-- --VMCPw--password-><
These options are typically not specified on the command line. Instead, the server address is specified on the VCDHost option in the client options file. The administrator name and password are then associated with that host by a set password command, where you specify that host, the administrator name, and the administrator password. You also specify TYPE=VCD on the set password command to indicate that these credentials are for logging on to a vCloud server.
You can specify these parameters on the command line. However, passing these parameters on the command line does supply your login credentials in plain text. Adding these parameters on the command line should be done only as a temporary measure when you are troubleshooting logins.
These options are typically not specified on the command line. Instead, the server address is specified on the VMCHost option in the client options file. The administrator name and password are then associated with that host by a set password command, where you specify that host, the administrator name, and the administrator password. You also specify TYPE=VM on the set password command to indicate that these credentials are for logging on to a vCenter or ESXi server.
You can specify these parameters on the command line. However, passing these parameters on the command line does supply your login credentials in plain text. Adding these parameters on the command line should be done only as a temporary measure when you are troubleshooting logins.
Option | Where to use |
---|---|
asnodename | Client user-options file (dsm.opt) or client systems option file (dsm.sys), on the command line, or on the General tab in the Preferences editor. Client user-options file (dsm.opt), on the command line, or on the General tab in the Preferences editor. |
inactive | Command line only. |
pick | Command line only. |
pitdate | Command line only. |
pittime | Command line only. |
vmchost | Client user-options file (dsm.opt) or client systems option file (dsm.sys), or on the command line. Client user-options file (dsm.opt), or on the command line. This option can also be included on the server in a client option set. |
vmcpw | Specify this option on the command line or on a set password command where TYPE=VM is specified. This option can also be included on the server in a client option set. |
vmcuser | Client user-options file (dsm.opt) or client systems option file (dsm.sys), or on the command line. Client user-options file (dsm.opt), or on the command line. You can also set this option on a set password command where TYPE=VM is specified. This option can also be included on the server in a client option set. |
dsmc restore vApp org=Orion,orgvdc=Development,vapp=master_vApp2
IBM Tivoli Storage Manager
Command Line Backup-Archive Client Interface
Client Version 7, Release 1, Level 0.0
Client date/time: 11/15/2013 00:34:06
(c) Copyright by IBM Corporation and other(s) 1990, 2013. All Rights Reserved.
Node Name: DM_pvdc1_DM1
Session established with server BORODINSERV: AIX
Server Version 6, Release 3, Level 0.0
Server date/time: 11/15/2013 09:27:49 Last access: 11/14/2013 14:26:10
Accessing as node: OVDC_ORG1_ORGVDC2
Restore function invoked.
Organization: Orion
Organization vDC: Orion_Silver
Restore VAPP command started. Total number of vApps to process: 1
Total number of virtual machines to process: 2
Starting Full VAPP restore of VMware vApp 'master_vApp2'
Restoring vApp configuration.
Restore of Virtual Machine 'VM1' started
Starting Full VM restore of VMware Virtual Machine 'VM1'
target node name='OVDC_Orion_DEVELOPMENT', data mover node name='DM_pvdc1_DM1'
... Creating vApp 'master_vApp2' by importing VM 'VM1'
Putting vApp into maintenance mode. Restore of Virtual Machine 'VM2' started
Starting Full VM restore of VMware Virtual Machine 'VM2'
target node name='OVDC_Orion_DEVELOPMENT', data mover node name='DM_pvdc1_DM1'
... Importing VM 'VM2' Removing maintenance mode from vApp.
Restore processing finished.
Successful Full VAPP restore of VMware vApp 'master_vApp2'
target node name='OVDC_Orion_DEVELOPMENT', data mover node name='DM_pvdc1_DM1'
Total number of objects restored: 1
Total number of objects failed: 0
Total number of bytes transferred: 4.50 GB
Data transfer time: 316.78 sec
Network data transfer rate: 7,748.33 KB/sec
Aggregate data transfer rate: 5,972.31 KB/sec
Elapsed processing time: 00:06:50
Restore VAPP command complete
Total number of vApps backed up successfully: 1
Total number of virtual machines backed up successfully: 2
Total number of vApps failed: 0
Total number of vApps processed: 1