To rebuild database files or the entire configuration tree, use the conftool utility. You can use conftool either for a single Barracuda NextGen Firewall F-Series configuration or for a Barracuda NextGen Control Center range configuration. Rebuilding the configuration tree might be necessary if it shows inconsistent entries, such as when Mail Gateway configuration objects suddenly appear in the Firewall configuration section. Such an error is usually caused by invalid, corrupt, or inconsistent database files.
In this article:
Commands for a Barracuda NextGen Firewall F-Series
To rebuild the configuration tree for a Barracuda NextGen Firewall F-Series, use the following syntax:
conftool b [cmd]
The following table lists the various commands that you can use for a Barracuda NextGen Firewall F-Series:
Command | Description |
---|---|
conftool b help | Displays all options available with conftool. |
conftool b rebuild_cache | Performs a complete rebuild of the tree cache. |
conftool b rebuild_db | Performs a complete rebuild of the database files. |
Commands for a Barracuda NextGen Control Center
To rebuild the configuration tree for a Barracuda NextGen Control Center range, use the following syntax:
conftool [rmc] [server_service] [cmd]
The following table lists the various commands that you can use for a Barracuda NextGen Control Center range:
Command | Description |
---|---|
conftool r | Performs a complete rebuild of the configuration tree for the range. |
conftool m | Performs a complete rebuild of the configuration tree for multiple clusters. |
conftool c | Performs a complete rebuild of the configuration tree for a single cluster. |
conftool par <range>_<cluster> <target directory> | Creates PAR files for the specified Barracuda NextGen Control Center ranges and clusters. |
Usage Examples
The following table lists usage examples for conftool :
Task | Command |
---|---|
To rebuild the Barracuda NextGen Firewall F-Series configuration database files on the executing box. | conftool b rebuild_db |
To rebuild the range configuration tree cache of the Config service on the main server. | conftool r main_config rebuild_cache |
To rebuild the reference database (noderef.db) without updating the firewall rulesets (norule). | conftool r - activate nosend norule |