mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-21 15:56:24 +00:00
Config driven, easy backup cli for restic.
8a773856de
Prior to this change, running the example from the docs without root privs produces this misleading/confusing output that claims that the software was installed when it wasn't: ```console $ wget -qO - https://raw.githubusercontent.com/cupcakearmy/autorestic/master/install.sh | bash linux amd64 /usr/local/bin/autorestic.bz2: Permission denied bzip2: Can't open input file /usr/local/bin/autorestic.bz2: No such file or directory. chmod: cannot access '/usr/local/bin/autorestic': No such file or directory bash: line 49: autorestic: command not found Successfully installed autorestic ``` With this change, the errors stop the script much earlier and produce this output instead: ``` linux amd64 /usr/local/bin/autorestic.bz2: Permission denied ``` |
||
---|---|---|
.github | ||
build | ||
cmd | ||
docs | ||
internal | ||
.dockerignore | ||
.drone.yml | ||
.gitattributes | ||
.gitignore | ||
CHANGELOG.md | ||
DEVELOPMENT.md | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
install.sh | ||
LICENSE | ||
main.go | ||
README.md |
Config driven, easy backup cli for restic.
»»» Docs & Getting Started »»»
💭 Why / What?
Autorestic is a wrapper around the amazing restic. While being amazing the restic cli can be a bit overwhelming and difficult to manage if you have many different locations that you want to backup to multiple locations. This utility is aimed at making this easier 🙂.
🌈 Features
- YAML config files, no CLI
- Incremental -> Minimal space is used
- Backup locations to multiple backends
- Snapshot policies and pruning
- Fully encrypted
- Before/after backup hooks
- Exclude pattern/files
- Cron jobs for automatic backup
- Backup & Restore docker volume
- Generated completions for
[bash|zsh|fish|powershell]
❓ Questions / Support
Check the discussions page or join on discord
Contributing / Developing
PRs, feature requests, etc. are welcomed :) Have a look at the dev docs