Improve this documentation: How to backup your databases: new section for backing up a database that is inside a docker container #649
Labels
No Label
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 New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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
hostname
is just set to127.0.0.1
, andport
to3307
.Done! https://torsion.org/borgmatic/docs/how-to/backup-your-databases/#containers
Thanks for the suggestion!