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

Command Reference

OceanStor 2800 V3 V300R006

This document is applicable to OceanStor 2800 V3. Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
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).
change snapshot restore

change snapshot restore

Function

The change snapshot restore command is used to restore data using snapshots. You can restore the data of a source logical unit number (LUN) to that of an existing snapshot by running this command.

Format

change snapshot restore snapshot_id=? [ restore_speed=? ]

Parameters

Parameter

Description

Value

snapshot_id=?

ID of a snapshot.

To obtain the value, run "show snapshot general".

restore_speed=?

Restoration rate.

The value can be:

  • "Low": low rate.
  • "Middle": medium rate.
  • "High": high rate.
  • "Highest": highest rate.

The default value is "Middle".

Level

Administrator

Usage Guidelines

  • Running this command overwrites the data of a source LUN using that of an existing snapshot.
  • Before running this command, ensure that the data of the selected snapshot is exactly the data you want to restore to a source LUN and that the source LUN has been backed up.
  • You can restore a public snapshot that is in the activated state only. To query the type and status of the snapshot, run "show snapshot general".

Example

Restore the data of a source LUN to that of snapshot "7" at the medium restoration rate.

admin:/>change snapshot restore snapshot_id=7 restore_speed=Middle 
DANGER: You are about to use snapshot to roll back source LUN. This operation will overwrite data on the source LUN with that on the snapshot. Before performing this operation, ensure that the source LUN is not being read or written by hosts and no data is saved on the cache of hosts. 
Suggestion: 
1. Before performing this operation, back up the data on the source LUN. 
2. Ensure that the free capacity of the storage pool is larger than the capacity occupied by the source LUN. 
Have you read danger alert message carefully?(y/n)y 
Are you sure you really want to perform the operation?(y/n)y 
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138382

Views: 312646

Downloads: 38

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