Back up your current configuration from old version

In order to backup your current configuration from old version of Web Safety, navigate to UI / Dashboard / Tools / Backup and click the Backup button as shown on the following screenshot.


Browser will download the backup file with old configuration.


On versions of Web Safety less than 4.7, you might need to manually run the following script in the /root folder to get the same backup archive. Download this backup archive to your current machine using WinSCP for example.


set -e

# check we are root
if [[ $EUID -ne 0 ]]; then
   echo "This script must be run as root" 1>&2
   exit 1

# we are going to copy the files from /opt/qlproxy/etc to this folder
mkdir ./data

cp -rf /opt/qlproxy/etc/ ./data/
cp -rf /opt/qlproxy/var/db/ ./data/

# pack it
cd ./data
zip -r .

echo "Copied all files from old installation folder successfully!"