CONFIG RESTORE
Level
maintenance,modify
History
level maintenance Appears in Netasq 6.0.0
level admin deprecated in Netasq 6.0.0
usb Appears in Netasq 6.1.0
refresh appears in 8.1.4
force appears in 2.3.0
global_vpn appears in 2.5.0
global_cert appears in 3.0.0
CheckBeforeRestore appears in 3.0.0
fwserial deprecated in 3.5.0
usb disappears in 4.0.0
option secure for list disappears in 4.0.0
ennetwork appears in 4.2.2
protectcad appears in 4.7.0
hostchecking appears in 4.8.0
Description
Restores full or partial configuration (complete list of available items is provided by SYSTEM BACKUP command)
Usage
list=<all|access_tickets|antispam|auth|autoupdate|bird|cert|communication|dhcp|dns|event-rules|filter|filterslotxx|fwadmin|global|global|global_cert|global_filter|global_filterslotxx|global_object|global_vpn|hostchecking|ldap|log|mailfiltering|mailgroup|monitor|network|ntp|object|pattern|pvm|qos|reports|route|securityinspection|serverd|services|snmp|sslfiltering|sysevent|system|totp|urlfiltering|urlgroup|vpn|vpn-pptp|vpn-ssl|webadmin|webservice_custom> [refresh=0|1] [password=<password protection>] [force=0|1] [CheckBeforeRestore=0|1] [ennetwork=0|1] [ProtectCad=0|1]
Returns
Error code
Remark
refresh token (default 0), when set to 1, refresh all (except network) firewall configuration, and does not require user to reboot if services successfully restarted.
force set to 1 allows restore when a list item is missing in the backup file (default is 0)
ennetwork (default 0) automatically activates network configuration (if no reboot is needed)
Example
CONFIG RESTORE list=all password=adminadmin
CONFIG RESTORE list=all refresh=1
CONFIG RESTORE list=all