Fortinet black logo

Handbook (HTML)

config system backup all-setting

config system backup all-setting

The config system backup all-settings command allows you to set or check the settings for scheduled backups.

Syntax

config system backup all-settings

set crptpasswd <passwd>

set directory <dir_name>set passwd <pwd>

set protocol {ftp | sftp}

set server <string>set status {enable | disable}

set time <hh:mm:ss>

set user <user_name>

set week_days {monday tuesday wednesday thursday friday}

end

where:

Keywords and variables Description Default
crptpasswd <passwd> Optional password to protect backup content None
directory <dir_name> The directory on the backup server in which to save the backup file. None
passwd <pwd> The password for the backup server. None
protocol {ftp | sftp} The backup protocol. sftp
server <string> The IP address or DNS-resolvable host name for the backup server. None
status {enable | disable} Enable or disable scheduled backups. disable
time <hh:mm:ss> The time of day to perform the backup. Time is required in the form <hh:mm:ss>. None
user <user_name> The user account name for the backup server. None
week_days {monday tuesday wednesday thursday friday} The day(s) of the week on which to perform backups. You may select multiple days. None

Example

The backup server is at 172.20.120.11 using the admin account with no password and saving the backup in the /usr/local/backups directory. Backups will be 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/backups

set week_days monday set time 13:00:00

set protocol ftp

end

config system backup all-setting

The config system backup all-settings command allows you to set or check the settings for scheduled backups.

Syntax

config system backup all-settings

set crptpasswd <passwd>

set directory <dir_name>set passwd <pwd>

set protocol {ftp | sftp}

set server <string>set status {enable | disable}

set time <hh:mm:ss>

set user <user_name>

set week_days {monday tuesday wednesday thursday friday}

end

where:

Keywords and variables Description Default
crptpasswd <passwd> Optional password to protect backup content None
directory <dir_name> The directory on the backup server in which to save the backup file. None
passwd <pwd> The password for the backup server. None
protocol {ftp | sftp} The backup protocol. sftp
server <string> The IP address or DNS-resolvable host name for the backup server. None
status {enable | disable} Enable or disable scheduled backups. disable
time <hh:mm:ss> The time of day to perform the backup. Time is required in the form <hh:mm:ss>. None
user <user_name> The user account name for the backup server. None
week_days {monday tuesday wednesday thursday friday} The day(s) of the week on which to perform backups. You may select multiple days. None

Example

The backup server is at 172.20.120.11 using the admin account with no password and saving the backup in the /usr/local/backups directory. Backups will be 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/backups

set week_days monday set time 13:00:00

set protocol ftp

end