Handle Restic backups with BackBlaze
- Installation is based on Ubuntu 18.04
- Restic installed with snap
- Clone repository
cd /usr/local/sbin
git clone https://github.com/fornstedt/restic
- Add symbolic link to cron
sudo ln -s /usr/local/sbin/restic/cronjob/raid-backup /etc/cron.daily/raid-backup
- Create password file
echo "your-restic-password" > /usr/local/sbin/restic/restic-pw.txt
-
Update
restic-env.sh
with your BackBlaze credentials -
Create folder file, one line for each folder you want to backup
echo "/path/to/folder1" > /usr/local/sbin/restic/backup-folders.txt
echo "/path/to/folder2" >> /usr/local/sbin/restic/backup-folders.txt
...