Skip to content

Conflict between "Daily Docker Cleanup" and "Volume Backup + Turn Off Container During Backup" #3392

@4lirexa

Description

@4lirexa

To Reproduce

  1. make sure "Daily Docker Cleanup" in "Web server" is checked
  2. deploy a docker compose app or template
  3. setup a S3 Destination
  4. setup a backup schedule for the app's volume using pre-defined schedules using "Every day at midnight (0 0 * * *)" and "Turn Off Container During Backup" Checked

Current vs. Expected behavior

Current:
if a backup take some time to be taken, the "Daily Docker Cleanup" process will delete the container, therefor after backup process is complete, container will not start again due to being deleted.
Expected:
if a backup process is running for the related containers, containers should not get deleted by "Daily Docker Cleanup"

Provide environment information

Dokploy Version: v0.26.2

Which area(s) are affected? (Select all that apply)

Application, Docker, Docker Compose

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

No response

Will you send a PR to fix it?

No

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions