This repository has been archived on 2021-02-24 . You can view files and clone it, but cannot push or open issues or pull requests.
095329c3107c48418ed36339c3426b61988d374a
duplicacy-scripts
These scripts are called usually with cron with something like the following
0 0 * * * /opt/duplicacy-scripts/duplicacy.sh
Duplicacy init setup
cd /
duplicacy init <hostname> sftp://duplicacy@gauntnas.home.johnhgaunt.com//mnt/data-pool/backups/duplicacy/data
duplicacy set -key ssh_password -value <ssh password>
Testing Filters
Filters can be easily tested using the backup command: duplicacy -d -log backup -enum-only. This is further explained in Backup command details.
Duplicacy copy setup
duplicacy add -e -copy default <BACKUP_HOST> <BACKUP_ID> sftp://duplicacy@<BACKUP_HOST>.home.johnhgaunt.com//backups/duplicacy
duplicacy set -storage <BACKUP_HOST> -key ssh_password -value <ssh password>
duplicacy set -storage <BACKUP_HOST> -key password -value <encryption password>
duplicacy copy -to <BACKUP_HOST> -id <BACKUP_ID>
then to actually copy the files off
the script takes -c|--copyOffsite agrument and then will copy the files to the offsite backup
Filter file contents
GauntBitwarden
i:etc/.*
i:opt/$
i:opt/bitwarden/.*
i:var/$
i:var/spool/$
i:var/spool/cron/.*
e:.*
GauntNAS
i:etc/version
i:data/.*
e:root/\.cache
i:root/.*
e:.*
GauntPlex
i:etc/.*
e:root/\.cache
i:root/.*
i:var/$
i:var/lib/$
i:var/lib/plexmediaserver/.*
i:var/spool/$
i:var/spool/cron/.*
e:.*
GauntRouter
i:cf/.*
GauntUNVR
i:volume1/$
i:volume1/\.srv/$
i:volume1/\.srv/unifi-protect/$
i:volume1/\.srv/unifi-protect/backups/.*
i:volume1/\.srv/unifi-protect/data/.*
i:volume1/\.srv/unifi-protect/logs/.*
Description
Languages
Shell
100%