CONFIG RESTORE

Level

maintenance+modify

History

level maintenance Appears in 6.0.0
level admin deprecated in 6.0.0
usb Appears in 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

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|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|fwadmin|access_tickets> [refresh=0|1] [password=<password protection>] [usb=0|1] [force=0|1] [CheckBeforeRestore=0|1]

Returns

Error code

Remark

usb option is used to get the backup from usb token instead of file
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 restoration when a list item is missing in the backup file (default is 0)

Example

CONFIG RESTORE list=all password=adminadmin
CONFIG RESTORE list=all refresh=1
CONFIG RESTORE list=all usb=1