Skip to content

Bash wrapper for restic

License

Notifications You must be signed in to change notification settings

pcace/backup-restic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

this is forked from https://github.com/joltcan/backup-restic

backup-restic

Bash wrapper for restic on OSX

Requirements

  • Bash
  • Restic
  • Some vars in the config file (depending on the backend)

Vars

The config file is stored at ~/.config/restic-vars. Run backup-restic.sh once and it will tell you what is needed.

Run

  • Initialise: run the script once, then it will till you what to add to the vars file
  • Run backup-restic init to initiate the repository
  • To manually backup, backup-restic backup

"install"

  • make executable run chmod +x backup-restic.sh
  • link: ln -l backup-restic.sh /usr/local/bin/backup-restic

Run automatically

Add to your crontab, like so: @daily /usr/local/bin/backup-restic backup >/dev/null 2>&1

About

Bash wrapper for restic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%