Configuration Files, Doing Settings Backups

All configuration files of Web Safety are stored in /opt/websafety/etc directory in all supported operating systems and are simple JSON files. In order to backup the current configuration it is enough to save the contents of this directory and restore it later when needed.

If administrator console is used to manage the configuration of Web Safety then configuration is also stored in sqlite database /opt/websafety/var/db/config.sqlite. When Save Configuration and Reload/Restart Server button is pressed, Admin UI regenerates the JSON files in /opt/websafety/etc and reloads/restarts all daemons. If you use admin console to manage configuration all manual changes to JSON files will be lost next time you restart the server.

It is recommended to regularly backup *.sqlite databases in /opt/websafety/var/db folder.

../../_images/restart_reload_menu10.png ../../_images/restart_reload15.png