set periodic-backup (TFTP or SFTP)

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

Description

Configure a periodic backup to TFTP or SFTP server.

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 folder. The oldest file will be deleted to create room for the new backup file.

  • While using flash, there is no need to enter server-username, server-password, or server-address.

Syntax

set periodic-backup [ mode {on | off} ] [ server-address <server-ip-address>] [ protocol {ftp | sftp | scp | flash}] [ server-username <server-username>] [ server-password <server-password>] [ file-encryption { true [ encryption-password <encryption-password>] | false } ] [ schedule { monthly [ day-of-month <<day-of-month>> ] | weekly [ day-of-week <<day-of-week>>] | daily } ] [ hour <hh>]

Parameters

Parameter

Description

server-address

IP address of destination

protocol

Valid values:

  • ftp

  • sftp (default)

  • scp

  • flash

server-username

User name to authenticate

server-password

Password to authenticate

file-encryption

File encryption is turned on or off

encryption-password

Password to encrypt/decrypt file

schedule

Periodicity of the backup: monthly/weekly/daily

day-of-month

Day of the month on which to backup settings (in case of monthly backup)

day-of-week

Day of the week on which to backup settings (in case of weekly backup)

hour

Hour on which to backup settings

Example Command

set periodic-backup mode on server-address 192.168.1.1 protocol sftp server-username admin server-password 12345 file-encryption true encryption-password 67890 schedule daily hour 1:00

set periodic-backup mode on protocol scp server-username <username > server-password <password> server-address <server> schedule daily file-encryption false hour 11

set periodic-backup mode on protocol flash mode true schedule daily file-encryption false hour 11