Nathan Geerinck

Nathan Geerinck

In code review

When a backup of a database fails, temporary files are not deleted.

Needs extra investigation:

  • Sites with Zero Downtime Deployments;
  • Large SQL files;
Dennis

Dennis

· · Edited
·

Merged Delete SQL file when database backup fails into this item \n\n Created by: tygoegmond \n\n Hello,

We're dealing with a sizable dataset here. In the event of a database backup failure occurring once or twice, it has the potential to exhaust all available disk space on the server. This is primarily due to the presence of approximately three times the size of the database on the disk.

To mitigate this issue, I propose that in the event of a database backup failure, Ploi should attempt to remove the associated .sql file that was created.

2 total votes
Super Interactive michael
michael

michael

· · Edited
·

An alternative approach may be to scan for earlier failed back up files on the next backup run. Deleting failed backup files older than a certain amount of time, say, for example, over six hours old or two days old. This would allow for someone to investigate the current failed backup final should they be aware of the failure right when it happens.

1 total vote
Super Interactive
Dennis

Dennis

· · Edited
·

This should work now:

2 total votes
Ahmed Yahia SMIT.
Ahmed Yahia

Ahmed Yahia

·
·

Ohh Man, Thank u 😍

no votes yet
Marvin

Marvin

·
·

Gone try it out.

no votes yet
You may use @ to mention someone.

Backups: temporary files not deleted on fail

12 total votes
  • Dennis moved item to board In code review

    1 month ago
  • Nathan Geerinck moved item to board Planned

    1 year ago
  • Nathan Geerinck moved item to project Bugs

    1 year ago
  • Nathan Geerinck created the item

    1 year ago