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 18000 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. Based on the CLI provided by DeviceManager, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these 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 hypervault_copy restore

change hypervault_copy restore

Function

The restore hypervault_copy general command is used to restore a copy to the primary file system.

Format

change hypervault_copy restore copy_id=? [ clean_primary_fs=? ]

Parameters

Parameter

Description

Value

copy_id=?

ID of the HyperVault copy.

To obtain the value, run "show hypervault_copy general hypervault_id=?".

clean_primary_fs=?

Whether to clean up the primary file system.

The value can be "yes" or "no", where:

  • "yes": The primary file system will be cleaned up.
  • "no": The primary file system will not be cleaned up.

The default value is "no".

Level

Administrator

Usage Guidelines

None

Example

Restore copy "556653223" to the primary file system.

admin:/>change hypervault_copy restore copy_id=556653223  
DANGER: You are about to restore copy to primary file system. 
If this operation is performed on the primary storage system, data in the file system will be restored to the data on the copy in the primary storage system. Copies created after this copy will be deleted. 
If this operation is performed on the secondary storage system, data in the primary file system will be restored to the data on the copy in the secondary storage system. The data restoration period is determined by the data volume on the copy. If you choose to clean up the primary file system when starting restoration, you need to manually delete user snapshots from the primary file system. This restoration task cannot be canceled. After the restoration is complete, data on the primary file system will be deleted. 
Suggestion: Before performing this operation, back up the data on the primary file system and ensure that the selected copy is correct. Besides, ensure that the primary and secondary file systems are not being read or written by hosts.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: EDOC1000138390

Views: 236480

Downloads: 150

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