Fortinet black logo

CLI Reference

system scheduled-backup

system scheduled-backup

Use this command to configure system configuration backup. You can choose to back up the configurations locally or remotely. You can also specify the backup schedules.

Syntax

config system scheduled-backup

set destination {local | remote}

set max-backup-num <integer>

set remote-directory <string>

set remote-host <string>

set remote-password <string>

set remote-protocol {ftp | sftp}

set remote-username <string>

set schedule {daily | none | weekdays}

set schedule-hour <integer>

set schedule-weekdays {monday ... sunday}

end

Variable

Description

Default

destination {local | remote}

Select whether to back up on the local machine and/or remotely on a FTP/SFTP server.

local

max-backup-num <integer>

Set the maximum number of backup to keep. When the number is reached, the oldest version will be overwritten. Valid range is 1 to 52.

10

remote-directory <string>

Specify the storage directory on the remote server.

remote-host <string>

Specify the host name or IP address of the remote server.

remote-password <string>

Specify the password to log on to the remote server.

remote-protocol {ftp | sftp}

Specify either FTP or SFTP.

sftp

remote-username <string>

Specify the user name to log on to the remote server.

schedule {daily | none | weekdays}

You can choose to back up daily or on specify day/days (from Monday to Sunday), or not back up at all (none).

schedule-hour <integer>

Specify the time (from 1 to 24) to perform the backup.

23

schedule-weekdays {monday ... sunday}

If you choose the weekday backup schedule, specify the day/days (from Monday to Sunday).

sunday

system scheduled-backup

Use this command to configure system configuration backup. You can choose to back up the configurations locally or remotely. You can also specify the backup schedules.

Syntax

config system scheduled-backup

set destination {local | remote}

set max-backup-num <integer>

set remote-directory <string>

set remote-host <string>

set remote-password <string>

set remote-protocol {ftp | sftp}

set remote-username <string>

set schedule {daily | none | weekdays}

set schedule-hour <integer>

set schedule-weekdays {monday ... sunday}

end

Variable

Description

Default

destination {local | remote}

Select whether to back up on the local machine and/or remotely on a FTP/SFTP server.

local

max-backup-num <integer>

Set the maximum number of backup to keep. When the number is reached, the oldest version will be overwritten. Valid range is 1 to 52.

10

remote-directory <string>

Specify the storage directory on the remote server.

remote-host <string>

Specify the host name or IP address of the remote server.

remote-password <string>

Specify the password to log on to the remote server.

remote-protocol {ftp | sftp}

Specify either FTP or SFTP.

sftp

remote-username <string>

Specify the user name to log on to the remote server.

schedule {daily | none | weekdays}

You can choose to back up daily or on specify day/days (from Monday to Sunday), or not back up at all (none).

schedule-hour <integer>

Specify the time (from 1 to 24) to perform the backup.

23

schedule-weekdays {monday ... sunday}

If you choose the weekday backup schedule, specify the day/days (from Monday to Sunday).

sunday