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 Disk

restore Disk

Function

Restores disks.

Format

restore Disk machine_uuid backup_image_id restore_mode disk_list [destination_storage_resource_list] poweron_after_restore [protected_environment_id] [destination_machine_uuid]

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 NewVM or OriginalVM, where:

  • NewVM: restores to a new VM.
  • OriginalVM: restores to the original VM.

disk_list

Disk list that you want to restore.

The value can be all_disks or disk UUID. If you want to restore multiple disks, separate every two disk UUIDs by a comma. A disk UUID contains 36 characters which can be 0-9, a-f, A-F, and hyphens (-).

destination_storage_resource_list

MO Reference list of destination storage resources.

This parameter is valid only when restore_mode is NewVM.

The value can be one disk or the same as the number of disks that you want to restore. Separate every two storage resources by a comma.

To obtain the MO Reference of a storage resource, run show storage_resource.

poweron_after_restore

Whether to power on the destination VM after restoration.

The value can be:

  • Yes
  • No.

protected_environment_id

Protected environment where the destination VM is located.

This parameter is valid only when restore_mode is NewVM.

The value is an integer ranging from 1 to 9223372036854775807.

destination_machine_uuid

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

This parameter is valid only when restore_mode is NewVM.

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

Views

management

Level

Administrator

Usage Guidelines

None

Example

Restore disks to the original VM.

management:/>restore Disk 4238ddd5-8d60-eab0-684a-86077caa307d b73e6f3d-f7c0-4584-8b19-a7e9f0115182 OriginalVM 6000c295-2da1-a02f-a6f3-d5effc5be2ea,6000c297-07f7-86b2-a642-571475061cea No 
WARNING: For FusionSphere scenario, if the original disk has been mounted to the target VM, the data on the disk will be overwritten or replaced. If you select the system disk in slot 1 to restore, the system disk in slot 1 of the target VM will be overwritten or replaced. 
For VMware scenario, if the corresponding slot in the target VM has a disk, the data on the disk in this slot will be overwritten or replaced. 
The target VM will be shutdown while restore. 
Suggestion: Before performing this operation, ensure that the selected disk is correct. 
Have you read warning message carefully?(y/n)y 

Are you sure you really want to perform the operation?(y/n)y 
Command send successfully.

System Response

None

Download
Updated: 2019-04-26

Document ID: EDOC1100079912

Views: 2540

Downloads: 1

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