Skip to content

fornstedt/restic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

restic

Handle Restic backups with BackBlaze

Prerequisites

  • Installation is based on Ubuntu 18.04
  • Restic installed with snap

Installation

  1. Clone repository

cd /usr/local/sbin
git clone https://github.com/fornstedt/restic

  1. Add symbolic link to cron

sudo ln -s /usr/local/sbin/restic/cronjob/raid-backup /etc/cron.daily/raid-backup

  1. Create password file

echo "your-restic-password" > /usr/local/sbin/restic/restic-pw.txt

  1. Update restic-env.sh with your BackBlaze credentials

  2. 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
...