IMPORTANT
SNS 3.x versions have reached End of Maintenance since July 1st, 2024.
We recommend that you update your SNS firewalls to a version with maintenance to guarantee the protection of your infrastructure.
CONFIG BACKUP
Level
maintenance
History
level maintenance Appears in 6.0.0
level other deprecated in 6.0.0
option global for list Appears in 6.0.0
option urlgroup for list Appears in 6.0.2
option pattern for list Appears in 6.0.2
usb Appears in 6.1.0
option secure for list Appears in 6.2.0
option autoupdate for list Appears in 6.2.0
option proxies for list Appears in 6.2.0
option services for list Appears in 6.2.0
format appears in 9.0.0
global_vpn appears in 2.5.0
global_cert appears in 3.0.0
tpmpassword appears in 3.10.0
privkeys appears in 3.10.0
ondiskprotect appears in 3.10.0
Description
Backups full or partial configuration (complete list of available items is provided by SYSTEM BACKUP command)
Usage
list=<all|network|global|object|global_object|filter|filterslotxx|global_filter|global_filterslotxx|vpn|global_vpn|ldap|urlfiltering|sslfiltering|urlgroup|global|pattern|secure|autoupdate|services|mailfiltering|dhcp|ntp|dns|snmp|pvm|cert|global_cert|securityinspection|vpn-ssl|vpn-pptp|event-rules|qos|auth|webadmin|statusweight|log|route|sysevent|bird|antispam|mailgroup|communication|system|serverd|reports|access_tickets|monitor> [usb=0|1] [password=<string>] [comment=<string>] [tpmpassword=<string>] [privkeys=all|none] [ondiskprotect=0|1]
A TPM password is required if it protects some private keys.
All private keys are included by default, but this can be avoided with option \"privkeys=none\".
Ondisk protected keys are backuped unprotected by default, but they can remain protected with option \"ondiskprotect=1\".
Format
raw
Returns
Error code
Remark
usb option required Modify level, and is used to push the backup on usb token instead of file
Example
CONFIG BACKUP list=all comment="sauvegarde tout" password=mypassword
CONFIG BACKUP list="pattern,network,global,network" usb=1