To rebuild database files or the entire configuration tree, use the conftool utility. You can use conftool either for a single Barracuda CloudGen Firewall configuration or for a Barracuda Firewall 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.
Commands for a Barracuda CloudGen Firewall
To rebuild the configuration tree for a Barracuda CloudGen Firewall, use the following syntax:
conftool b [cmd]
The following table lists the various commands that you can use for a Barracuda CloudGen Firewall:
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 Firewall Control Center
To rebuild the configuration tree for a 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 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 Control Center ranges and clusters. |
Usage Examples
The following table lists usage examples for conftool:
Task | Command |
---|---|
To rebuild the Barracuda CloudGen Firewall 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). |
|