Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

icgood/Restic.spoon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Restic.spoon

Hammerspoon module to manage restic backups with the menu bar

Screenshot

Installation

Install the spoon with:

git clone https://github.com/icgood/Restic.spoon.git ~/.hammerspoon/Spoons/Restic.spoon

Configuration

Update your ~/.hammerspoon/init.lua with the following:

hs.loadSpoon("Restic")
spoon.Restic:setRepository("s3:s3.amazonaws.com/bucket_name")
spoon.Restic:setPassword("<restic-repo-password>")
spoon.Restic:setS3Credentials("<aws-access-key>", "<aws-secret-key>")
spoon.Restic:start()

Finally, reload your Hammerspoon config to see Restic.spoon in the menu bar.

See Help in the menu bar for documentation on additional settings and console commands.

Save/Load

Once you have a working configuration, save them to ~/restic.spoon from the Hammerspoon console:

spoon.Restic:saveSettings()

You can then modify your ~/.hammerspoon/init.lua script and replace all of the spoon initialization with:

hs.loadSpoon("Restic"):start()

About

Hammerspoon module to manage restic backups with the menu bar

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages