Back up your current configuration from old version

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

../../_images/save_config4.png

Browser will download the backup file with old configuration.

../../_images/save_config_zip4.png

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.

#!/bin/bash

set -e

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

# 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 websafety_backup.zip .

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