backup settings (TFTP, SFTP, USB)

In the R81.10.X releases, this command is available starting from the R81.10.00 version.

Description

Back up settings immediately to TFTP, SFTP, or USB.

Added SCP and FLASH periodic backup methods.

See also:

Notes:

  • While using flash backup in both methods "set periodic backup" and "backup settings", there cannot be more than 3 backup files in the /backup/logs/ directory. The oldest backup file will be deleted to free the space for the new backup file.

  • While using flash, there is no need to enter username, password, and server.

Syntax

backup settings to {usb | tftp server <Server Address> | sftp server <Server Address> | scp <Server Address> | flash} [filename <Backup Filename>] [file-encryption {off | on password <Encryption Password>}] [backup-policy {on | off}] [add-comment "Comment"] [username <Server Username> password <Server Password>]

Parameters

Parameter

Description

to

Specifies the backup destination:

  • USB storage device

  • TFTP server

  • SFTP server

  • SCP

  • Flash

filename

Specifies the name of the backup file

file-encryption

Enables (on) or disables (off) the encryption of the backup file

backup-policy

Enables (on) or disables (off) the backup policy

username

Specifies the username on the remote server

See Special Characters in Gaia Clish

password

Specifies the password on the remote server

See Special Characters in Gaia Clish

Example Command

backup settings to sftp server 192.168.1.1 filename my_backup_file file-encryption on pass MyEncPassword backup-policy off username MyServerUsername password MyServerPassword