Skip to content

restic backup automation scripts

License

Notifications You must be signed in to change notification settings

Jak9i/restic-scripts

 
 

Repository files navigation

About

This is a helper script to automate backups using restic

Supports:

  • backing up to a local directory
  • backing up to a remote sftp server

How to use

cp config.example config
cp excludes.txt.example excludes.txt
cp includes.txt.example includes.txt
$EDITOR config excludes.txt includes.txt
./restic-wrapper

Running from cron

Example root crontab entry:

30 3 * * * /path/to/restic-scripts/restic-wrapper

Restore

Local directory

To restore from local backups, the easiest way is to mount backups

restic mount -r /path/to/backup/repo ./restore

About

restic backup automation scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%