Skip to content

mattolson/restic-snapshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

restic-snapshot

Command line utility to send a snapshot of $HOME to offsite storage using restic on an hourly basis.

Installation

  • Install restic with brew install restic
  • Copy ./bin/restic-snapshot to $HOME/.local/bin
  • Copy ./etc/restic-snapshot.excludes to $HOME/.local/etc
  • Copy ./LaunchAgents/com.mattolson.restic-snapshot.plist to $HOME/Library/LaunchAgents and update values as appropriate for your environment (all the placeholders that start with $)
  • Run launchctl load -w ~/Library/LaunchAgents/com.mattolson.restic-snapshot.plist to install the LaunchAgent
  • Go into your System Settings -> Privacy & Security -> Full Disk Access and add /bin/bash and /opt/homebrew/bin/restic

About

Perform periodic snapshots of MacOS home directory to offsite storage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages