Skip to content
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

implementing the restic cli tool into this image to save to a repository #283

Open
joergmschulz opened this issue Nov 18, 2023 · 1 comment

Comments

@joergmschulz
Copy link
Contributor

Description of the feature
db-backup creates files on different repositories in order to get them saved by the respective backup tools.
It would be fine to have RESTIC cli as one of the possible targets.

Benftits of feature
This would decouple database backups from the OS backup strategy completely and procure isolated backup for the db container(s).

@braham2019
Copy link

As Restic accepts database dumps through stdin, this would be ideal, yes.

A workaround I tried is (a) rebuild Docker container and adding restic and (b) installing restic on the Docker host and pointing a volume to it : "/usr/bin/restic:/usr/bin/restic:ro".

In both cases it would only work with first copying the backups to a folder on the local filesystem, and then having Restic back up the files in that folder using a db-backup post-script. But it does work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants