backup
Use this command to back up the configuration file to an FTP, TFTP, SCP server or the local machine.
This command does not produce a complete backup. For information on how to back up other configuration files such as Bayesian databases, see the FortiMail Administration Guide. |
Syntax
execute backup {config | full-config | ibe-data | mail-queue | user-config}{ftp | local | scp | tftp}
Variable |
Description |
Default |
{config | full-config | ibe-data | mail-queue | user-config} |
Type either:
|
|
Specify the backup location and enter the file name and credentials if required. |
|
Example
This example uploads a password-encrypted partial configuration backup to a TFTP server.
execute backup full-config tftp fortimail_backup.cfg 172.16.1. 1 P@ssword1
No user configuration available!
Do you want to continue? (y/n)y
No IBE data available!
Do you want to continue? (y/n)y
System time: Tue Sep 27 13:07:43 2011
Backup with current user defined configuration and ibe data. Do you want to continue? (y/n)y
Connect to tftp server 172.16.1.1 ...
Please wait...
Optionally encrypt backup content
For improved confidence and privacy, you can protect the back up configuration file with an encryption password. This password must match when restoring the back up configuration.
Example
execute backup config tftp config1.cfg 1.1.1.1
<Enter>|<passwd> Optional password to protect the backup content.