Skip to content

DUP-297: Add drush backup cleanup cron#75

Open
martinstadelmann wants to merge 2 commits into
2.xfrom
issue/DUP-297_drush-backup-cleanup
Open

DUP-297: Add drush backup cleanup cron#75
martinstadelmann wants to merge 2 commits into
2.xfrom
issue/DUP-297_drush-backup-cleanup

Conversation

@martinstadelmann

Copy link
Copy Markdown
Collaborator

Issue

Drush uses /app/drush-backups for temporary storage of Drupal database backups (as well as some other ephemeral files). However in some edge cases, like an aborted drush sqs:sync it is possible that the file(s) are not cleaned up properly and remain in the folder. We could move the drush backups folder into /tmp using the drush config, however the temporary directory's storage limit (8GB on Upsun) differs from the app's and the /tmp folder might not be cleaned up quickly.

Tasks

  • Add drush backup cleanup cron to new and existing .platform.app.yaml configurations

@martinstadelmann martinstadelmann added this to the v2.2 milestone Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant