blob: 2d7ba1dcf09debbc0e08c23eb853a490df0ddeb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/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/*"
|