-
-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encrypted backups to S3-compatible storage using restic #1371
base: master
Are you sure you want to change the base?
Conversation
bd6d9e7
to
d4814d6
Compare
This is very interesting, let me know when it's ready to take a look. Thanks! |
@nachoparker Ready |
install() | ||
{ | ||
apt-get update | ||
apt-get install --no-install-recommends -y restic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quick note from a passerby. Perhaps also add:
restic self-update
Restic version available from Bullseye repository is v0.9.6 while self update will get you v0.14.0.
Are there plans to complete this? And later add support for other backends, like B2? |
This feature allows to create encrypted backups of the Nextcloud data directory and (optionally) Nextcloud database to any S3-compatible storage using restic.
Workflow:
Limitations:
ncp-backup
inside the S3 bucket. Should this be configurable?Notes:
restic restore --include
via SSHrestic forget --prune
to remove old backups when needed via SSH (there are many more sophisticated options beyond the number of days to keep)If you have any suggestions for improving this PR, feel free to comment. 🙂