Improve this documentation: How to backup your databases: new section for backing up a database that is inside a docker container #649
Labels
No labels
blocked
breaking
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No milestone
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
borgmatic-collective/borgmatic#649
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What I'm trying to do and why
Save a database that is inside a docker container, while borgmatic runs outside of the container.
Proposed change
Add a new section in https://torsion.org/borgmatic/docs/how-to/backup-your-databases/ that includes the fix of @Firesphere in #495 where a user can expose to a port on the same machine at ip localhost to avoid exposing it to a wider audience, with this snippet as a concrete example of docker-compose section:
and the corresponding borgmatic configuration snippet:
Then
hostnameis just set to127.0.0.1, andportto3307.Done! https://torsion.org/borgmatic/docs/how-to/backup-your-databases/#containers
Thanks for the suggestion!