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

Description

Restores 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|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|fwadmin|access_tickets|monitor|webservice_custom|totp> [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