Skip to content

Lazy restart of multi volume backup #749

@mmittelb

Description

@mmittelb

Is your feature request related to a problem? Please describe.
I am using this awesome image (thanks by the way) to backup the volumes of my mailserver. Therefore the mailserver is stopped each time a volume is backed up, which results in 6 restarts everyday. Since resarting all the services takes a lot of resources, I would love to keep the server stopped until all backups are finished.

Describe the solution you'd like
Maybe instead of using a lock, one can use a semaphore and restart the services once all the backups finished. To ensure compatibility I would suggest to activate this feature using an env var.

Describe alternatives you've considered
None

Additional context
I am happy to create a PR to solve this. But I wanted to check upfront, if you agree with this feature request before starting to work on it.

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