Skip to content

[Feature] Automated backups of all named volumesΒ #446

@Mushoz

Description

@Mushoz

Is your feature request related to a problem? Please describe.
I have many different docker-compose files for different services. And I am fairly certain I am not the only one. If I want to add backups I either:

  1. Have to add a backup service to each individual docker compose file, introducing a lot of duplication and maintenance.
  2. Define one new docker compose just for the backup, change all my docker compose files to utilize explicitly named volumes, and then mount all these volumes in this newly created service.

Number 1 has a lot of duplication. Number 2 has a risk of forgetting to mount new named volumes, and not backing them up.

Describe the solution you'd like
Allow this tool to use the docker socket to create a list of ALL named volumes, and back them all up automatically. We could set a default policy for whether to stop containers using a volume or not. We could run an exclude list on volumes NOT to backup. But this way, we will at least have backups for new volumes in changed existing services or entirely new docker compose files by default even if we do not change anything.

Describe alternatives you've considered
Not aware of any alternatives.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions