#!/bin/bash # This script is used by the CRON Daemon to launch automated backups via the Restic backup utility # Load restic varibles source /etc/restic.d/backblaze.conf # Perform userdata backup restic backup \ "$RESTIC_COMMON_OPTS" \ --tag userdata \ /var/www/vhosts /var/mail /var/qmail/mailnames /var/spool/cron \ --exclude="/var/www/vhosts/*/httpdocs/components/com_virtuemart/shop_image/mfgs/cache/*" \ --exclude="/var/www/vhosts/*/httpdocs/includes/STN/locks/*" \ --exclude="/var/www/vhosts/*/logs/*" \ --exclude="/var/www/vhosts/system/*/logs/*"