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 2200 V3 and 2600 V3 Storage System V300R005 Command Reference

"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."
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 configuration_data

export configuration_data

Function

The export configuration_data command is used to export the configuration file that resides in the storage system's memory. Such a configuration file stores important configuration information on the storage system's components and services. Export configuration data regularly and save it securely so that you can restore the configuration when the storage system fails.

Format

export configuration_data ip=? user=? password=? db_file=? [ port=? ] [ protocol=? ] [ clean_device_file=? ]

Parameters

Parameter

Description

Value

ip=? IP address of the File Transfer Protocol (FTP) server or a Secure File Transfer Protocol (SFTP) server to which you want to export a configuration file.

-

user=? User name for logging in to an FTP server or an SFTP server.

The value contains 1 to 64 characters.

password=? Password for logging in to an FTP server or an SFTP server.

The value contains 1 to 63 characters.

db_file=? File name of and path to a configuration file on an FTP server or an SFTP server.

The file name extension must be .dat.

port=? ID of the employed port on an FTP server or an SFTP server.

The value ranges from 1 to 65535. l:If protocol=FTP, the default value is 21.

  • If protocol=SFTP, the default value is 22.
protocol=? Protocol type.

The value can be "FTP" or "SFTP". The default value is "SFTP".

To ensure the security of data transfer, you are advised to use Secure File Transfer Protocol (SFTP).

clean_device_file=? After the configuration file is exported to an FTP server or an SFTP server, whether to delete the temporary configuration file cached in the storage system memory during configuration file export.

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

  • "yes": immediately deletes the temporary configuration file cached in the storage system memory.
  • "no": deletes the temporary configuration file cached in the storage system memory after five minutes.
The default value is "yes".

Level

Administrator

Usage Guidelines

  • This command allows you to export a configuration file only to an FTP server or an SFTP server connected to the storage system.
    NOTE:
    Prerequisites for using this command:
    • The FTP server or SFTP server is accessible to the storage system.
    • The FTP service or SFTP service on the server has been enabled.
    • The folder for storing a configuration file has been created.
  • The file name extension must be .dat. Otherwise, the exported configuration file cannot be used for importing configuration data.
  • If the storage system serves as a server in the file transfer with external systems, it supports the SFTP service only. If the storage system serves as a client, it supports both the FTP and SFTP services.

Example

To export configuration data that resides in the storage system's memory to an FTP server, where the IP address of the FTP server is "192.168.0.144", the user name for logging in to the FTP server is "admin", the password is "123456", the exported configuration data will be stored in the root directory of the FTP server, and the exported events will be saved as the "conf.dat" file, run the following command.

admin:/>export configuration_data ip=192.168.8.211 user=admin password=****** db_file=conf.dat protocol=FTP
WARNING: You are about to export the system configuration data. This operation may leak users' information.
Suggestion: Before performing this operation, please acknowledge the aforementioned risks.
Have you read warning 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-04-22

Document ID: EDOC1000106139

Views: 259009

Downloads: 176

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