Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

backup all-settings

Use this command to set or check the settings for scheduled backups.

Syntax

config system backup all-settings

set status {enable | disable}

set server {<ipv4_address>|<fqdn_str>}

set user <username>

set directory <string>

set week_days {monday tuesday wednesday thursday friday saturday sunday}

set time <hh:mm:ss>

set protocol {ftp | scp | sftp}

set passwd <passwd>

set cert <string>

set crptpasswd <passwd>

end

Variable

Description

status {enable | disable}

Enable/disable scheduled backups (default = disable).

server {<ipv4_address>|<fqdn_str>}

Enter the IPv4 address or DNS resolvable host name of the backup server.

user <username>

Enter the user account name for the backup server (character limit = 63).

directory <string>

Enter the name of the directory on the backup server in which to save the backup file.

week_days {monday tuesday wednesday thursday friday saturday sunday}

Enter the days of the week on which to perform backups. You may enter multiple days.

time <hh:mm:ss>

Enter the time of day to perform the backup. Time is required in the form <hh:mm:ss>.

protocol {ftp | scp | sftp}

Enter the transfer protocol (default = sftp).

passwd <passwd>

Enter the password for the backup server (character limit = 63).

cert <string>

SSH certificate for authentication. Only available if the protocol is set to scp.

crptpasswd <passwd>

Optional password to protect backup content (character limit = 63).

Example

This example shows a whack where backup server is 172.20.120.11 using the admin account with no password, saving to the /usr/local/backup directory. Backups are done on Mondays at 1:00pm using ftp.

config system backup all-settings

set status enable

set server 172.20.120.11

set user admin

set directory /usr/local/backup

set week_days monday

set time 13:00:00

set protocol ftp

end

backup all-settings

Use this command to set or check the settings for scheduled backups.

Syntax

config system backup all-settings

set status {enable | disable}

set server {<ipv4_address>|<fqdn_str>}

set user <username>

set directory <string>

set week_days {monday tuesday wednesday thursday friday saturday sunday}

set time <hh:mm:ss>

set protocol {ftp | scp | sftp}

set passwd <passwd>

set cert <string>

set crptpasswd <passwd>

end

Variable

Description

status {enable | disable}

Enable/disable scheduled backups (default = disable).

server {<ipv4_address>|<fqdn_str>}

Enter the IPv4 address or DNS resolvable host name of the backup server.

user <username>

Enter the user account name for the backup server (character limit = 63).

directory <string>

Enter the name of the directory on the backup server in which to save the backup file.

week_days {monday tuesday wednesday thursday friday saturday sunday}

Enter the days of the week on which to perform backups. You may enter multiple days.

time <hh:mm:ss>

Enter the time of day to perform the backup. Time is required in the form <hh:mm:ss>.

protocol {ftp | scp | sftp}

Enter the transfer protocol (default = sftp).

passwd <passwd>

Enter the password for the backup server (character limit = 63).

cert <string>

SSH certificate for authentication. Only available if the protocol is set to scp.

crptpasswd <passwd>

Optional password to protect backup content (character limit = 63).

Example

This example shows a whack where backup server is 172.20.120.11 using the admin account with no password, saving to the /usr/local/backup directory. Backups are done on Mondays at 1:00pm using ftp.

config system backup all-settings

set status enable

set server 172.20.120.11

set user admin

set directory /usr/local/backup

set week_days monday

set time 13:00:00

set protocol ftp

end