No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

OceanStor BCManager 6.5.0 eBackup Command Reference 01

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
restore Machine

restore Machine

Function

Restores a VM.

Format

restore Machine machine_uuid backup_image_id restore_mode [replace] [new_vm_name] poweron_after_restore [protected_environment_id] [computing_resource] [first_storage_resource] [second_storage_resource]

Parameters

Parameter

Description

Value

machine_uuid

UUID of the VM, it is assigned by backup management system, not the universally unique identifier of the VM in the protected environment.

The value contains 36 characters which can be 0-9, a-f, A-F, and hyphens (-).

backup_image_id

Backup image ID.

The value contains 36 characters which can be 0-9, a-f, A-F, and hyphens (-).

restore_mode

Restoration mode.

The value can be OriginalLocation or NewLocation, where:

  • OriginalLocation: restores to the original location.
  • NewLocation: restores to a new location.

replace

Whether to replace the original VM.

This parameter is valid only when restore_mode is OriginalLocation.

The value can be:

  • Yes
  • No

new_vm_name

Name of the destination VM.

This parameter is valid only when restore_mode is NewLocation or replace is No.

The name contains 1 to 128 characters.

poweron_after_restore

Whether to power on the destination VM after restoration.

The value can be:

  • Yes
  • No

protected_environment_id

ID of the protected environment where the destination VM is located.

This parameter is valid only when restore_mode is NewLocation.

The value is an integer ranging from 1 to 9223372036854775807.

computing_resource

MO Reference of the destination VM computing resource.

This parameter is valid only when protected_environment_id is valid.

The value contains 1 to 256 characters. To obtain the MO Reference of a computing resource, run show compute_resource.

first_storage_resource

MO Reference of the destination VM storage resource.

This parameter is valid only when protected_environment_id is valid.

In the VMware environment, the storage resource is used to store VM configuration information. In the FusionSphere environment, the storage resource is used to store OS disk data.

The value contains 1 to 256 characters. To obtain the MO Reference of a storage resource, run show storage_resource.

second_storage_resource

MO Reference of the destination VM storage resource.

This parameter is valid only when protected_environment_id is valid.

In the VMware environment, the storage resource is used to store all VM disk data. In the FusionSphere environment, the storage resource is used to store non-OS disk data.

The value contains 1 to 256 characters. To obtain the MO Reference of a storage resource, run show storage_resource.

Views

management

Level

Administrator

Usage Guidelines

None

Example

Restore a VM to the new location.

management:/>restore Machine 23e5407b-03c9-551d-a3d7-5e63e6f431c8 75456150-c818-4426-90ef-0eaf15258cf1 NewLocation tsetVM No 1 /service/sites/4EA80933/hosts/146 /service/sites/4EA80933/datastores/2 /service/sites/4EA80933/datastores/2 
Command send successfully.

System Response

None

Download
Updated: 2019-04-26

Document ID: EDOC1100079912

Views: 3260

Downloads: 1

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next