Fortinet white logo
Fortinet white logo

CLI Reference

backup web-protection-profile

backup web-protection-profile

Use this command to back up web protection profiles of a FortiWeb appliance to a TFTP server.

To use this command, your administrator account’s access control profile must have either w or rw permission to the mntgrp area. For details, see Permissions.

Syntax

execute backup web-protection-profile <filename_str> <tftp_ipv4>[<password_str>]

Variable Description Default

<filename_str>

Enter the name of the backup file, such as config.zip. No default.

<tftp_ipv4>

Enter the IP address of the TFTP server. No default.

[<password_str>]

Enter a password to be used when encrypting the backup .zip extension file. This is optional.

If you don't provide a password, the backup file will be stored as a clear file with a .zip extension.

Caution: Remember the password or keep it in a secure location. You will be required to enter the same password when restoring an encrypted backup file. If you forget or lose the password, you won't be able to use that encrypted backup file.

No default.

Example

This example backs up web protection profiles of the FortiWeb appliance on a TFTP server at IP address 192.0.2.23. The file is encrypted with the password P@ssword1.

execute backup web-protection-profile tftp config.zip 192.0.2.23 P@ssword1

Related topics

backup web-protection-profile

backup web-protection-profile

Use this command to back up web protection profiles of a FortiWeb appliance to a TFTP server.

To use this command, your administrator account’s access control profile must have either w or rw permission to the mntgrp area. For details, see Permissions.

Syntax

execute backup web-protection-profile <filename_str> <tftp_ipv4>[<password_str>]

Variable Description Default

<filename_str>

Enter the name of the backup file, such as config.zip. No default.

<tftp_ipv4>

Enter the IP address of the TFTP server. No default.

[<password_str>]

Enter a password to be used when encrypting the backup .zip extension file. This is optional.

If you don't provide a password, the backup file will be stored as a clear file with a .zip extension.

Caution: Remember the password or keep it in a secure location. You will be required to enter the same password when restoring an encrypted backup file. If you forget or lose the password, you won't be able to use that encrypted backup file.

No default.

Example

This example backs up web protection profiles of the FortiWeb appliance on a TFTP server at IP address 192.0.2.23. The file is encrypted with the password P@ssword1.

execute backup web-protection-profile tftp config.zip 192.0.2.23 P@ssword1

Related topics