backup settings

Description

Creates a backup file that contains the current settings for the appliance and saves them to a file. The file is saved to either a USB device or TFTP server. You can use these options when the backup file is created:

  • Specific file name (The default file name contains the current image and a date and time stamp)

  • Password encryption

  • Backup policies

  • Add a comment to the file

Syntax

backup settings to {usb|tftp server <serverIP>} [filename <filename>] [file-encryption {off|on password <pass>}] [backup-policy {on|off}] [add-comment <comment>]

Parameters

Parameter

Description

comment

Comment that is added to the file.

filename

Name of the backup file.

pass

Password for the file. Alphanumeric and special characters are allowed.

serverIP

IPv4 address of the TFTP server.

Return Value

0 on success, 1 on failure

Example

backup settings to usb file-encryption on password admin backup-policy on add-comment check_point_new_configuration

Output

Success prints OK. Failure shows an appropriate error message.

Comments

When saving the backup file to a USB device, the backup settings command fails if there are two USB devices connected to the appliance.