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 9000 V5 7.0 Command Reference 03

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).
export vm_file

export vm_file

Function

The export vm_file command is used to export a file from the file system on a VM.

Format

export vm_file <file_type> <file_name> <ip> <path> <user> [port=?]

Parameters

Parameter

Description

Value

file_type Type of an exported file.

The value can only in .img format.

file_name Name of an exported file.

The value can contain 5 to 63 characters, including letters, digits, hyphens (-), underscores (_), and periods (.), midline(-) and dots(.) can not be used as the first character, and two dots(.) can not be together, with .img format.

ip IP address of an SFTP server.

The value is an IPv4 or IPv6 address.

path Destination path of an SFTP server.

The value must be a path ending with "/".

user User name of an SFTP server.

The value contains 1 to 31 characters, including letters, digits, hyphens (-), underscores (_), and periods(.). It must begin with a letter, and the last character cannot be hyphens, underscores, and periods.

port Network port ID of an SFTP server.

The value ranges from 1 to 65535.

Level

Super administrator

Usage Guidelines

1. exporting files of the same type using this command is mutually exclusive. When a file is being exported using this command, another file of the same type as the file cannot be exported.

2. exporting a file using the command has a timeout period. When the command execution duration exceeds the timeout period, the export times out and the mutual exclusion relationship is broken. The timeout period is 60 minutes.

Example

Exports a file from the file system on the VM.

admin:/>export vm_file img aaa.img 192.168.100.10 /home/omuser/ omuser 
Please input your password:**************
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 24296

Downloads: 7

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