< Home

set save-configuration backup-to-server server (upgrade-compatible command)

Function

The set save-configuration backup-to-server server command specifies the server where the system periodically saves the configuration file.

The undo set save-configuration backup-to-server server command cancels the server where the system periodically saves the configuration file.

By default, the system does not periodically save configurations to the server.

Format

set save-configuration backup-to-server server server-ip [ transport-type { ftp | sftp } ] path path user user-name password password

set save-configuration backup-to-server server server-ip user user-name password password [ path path ]

undo set save-configuration backup-to-server server [ server-ip ]

Parameters

Parameter Description Value
server server-ip Specifies the IP address of the server where the system periodically saves the configuration file. -
transport-type Specifies the mode in which the configuration file is transmitted to the server. The value can be ftp or sftp.
user user-name Specifies the name of the user who saves the configuration file on the server. The value is a string of 1 to 64 case-sensitive characters without spaces.
password password Specifies the password of the user who saves the configuration file on the server. The value is a string of 1 to 16 or 32 case-sensitive characters without spaces.
path path Specifies the relative save path on the server. The value is a string of 1 to 64 case-sensitive characters without spaces.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

Run this command to periodically save the configuration file to the server.

Precautions

If the mode in which the configuration file is transmitted to the server is not specified, FTP is used.

If the specified path on the server does not exist, configuration files cannot be sent to the server. The system then sends an alarm message indicating the transmission failure to the NMS, and the transmission failure is recorded as a log message on the device.

The user name and password must be the same as those used in FTP or SFTP login mode.

Example

# Specify the server to which the system periodically sends the configuration file, and set the transmission mode to FTP.

<HUAWEI> system-view
[HUAWEI] set save-configuration backup-to-server server 10.1.1.1 transport-type ftp path d:/ftp user huawei password huawei@1234
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >