Docker & Docker-Compose current status? #452

Closed
opened 2021-09-12 07:57:47 +00:00 by Robert-Ernst · 1 comment

I want to use borgmatic with docker-compose and I am familiar with the usage of Docker

Why you don't include a Dockerfile, Docker-Image or Docker-Compose here in the repo?

Is borgmatic not recommended to use in Docker? Too bothersome?

What is the currently best way to use borg + borgmatic via docker-compose?

I am also aware of the abandoned docker repos
https://github.com/coaxial/docker-borgmatic-container
https://github.com/nicph/docker-borgmatic
https://hub.docker.com/r/monachus/borgmatic

I am also aware of those old tickets:
witten/borgmatic#201
witten/borgmatic#113
witten/borgmatic#62

Also you still have a .dockerignore file inside your repository. So you either use Docker for development or you forgot to remove that from the past.

I want to use borgmatic with docker-compose and I am familiar with the usage of Docker Why you don't include a Dockerfile, Docker-Image or Docker-Compose here in the repo? **Is borgmatic not recommended to use in Docker? Too bothersome?** **What is the currently best way to use borg + borgmatic via docker-compose?** I am also aware of the abandoned docker repos https://github.com/coaxial/docker-borgmatic-container https://github.com/nicph/docker-borgmatic https://hub.docker.com/r/monachus/borgmatic I am also aware of those old tickets: https://projects.torsion.org/witten/borgmatic/issues/201 https://projects.torsion.org/witten/borgmatic/issues/113 https://projects.torsion.org/witten/borgmatic/issues/62 Also you still have a .dockerignore file inside your repository. So you either use Docker for development or you forgot to remove that from the past.
Owner

Great questions! I think this is the borgmatic Docker project you're probably looking for: https://github.com/b3vis/docker-borgmatic .. It's linked from the borgmatic docs and actually includes Docker Compose files, but I'll add a mention of Compose to the docs.

I actually use borgmatic myself with both Docker and Docker Compose on machines where that makes sense, so it's certainly "recommended" from my perspective.

The reason that Dockerfiles and Docker Compose files aren't baked into the main borgmatic repo itself is mostly historical. That started as separate projects, and there hasn't been a compelling reason to merge. Although there are discussions about putting the two repositories side-by-side in terms of hosting to make development easier.

Lastly, the .dockerignore file in the borgmatic repository is there to support development—Docker and Compose are both used to run end-to-end tests locally and in CI!

Hope that helps. Please let me know if you have any other thoughts or questions on this.

Great questions! I think this is the borgmatic Docker project you're probably looking for: https://github.com/b3vis/docker-borgmatic .. It's linked from the [borgmatic docs](https://torsion.org/borgmatic/docs/how-to/set-up-backups/#other-ways-to-install) and actually includes Docker Compose files, but I'll add a mention of Compose to the docs. I actually use borgmatic myself with both Docker and Docker Compose on machines where that makes sense, so it's certainly "recommended" from my perspective. The reason that Dockerfiles and Docker Compose files aren't baked into the main borgmatic repo itself is mostly historical. That started as separate projects, and there hasn't been a compelling reason to merge. Although there are discussions about putting the two repositories side-by-side in terms of hosting to make development easier. Lastly, the `.dockerignore` file in the borgmatic repository is there to support development—Docker and Compose are both used to run end-to-end tests locally and in CI! Hope that helps. Please let me know if you have any other thoughts or questions on this.
witten added the
question / support
label 2021-09-12 20:21:46 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#452
No description provided.