wp-media / backwpup

BackWPup - WordPress Backup Plugin
https://backwpup.com
GNU General Public License v2.0
88 stars 36 forks source link

It wrongly keep the incomplete backup file when fails #118

Open ghost opened 2 years ago

ghost commented 2 years ago

Describe the bug Hi, when disk is full it correctly fails but it still keep the incomplete backup file and it also delete the oldest backup, so after many days of failed backups you are kept just with broken files since all good backups will be gone.

Can it be fixed please?

To Reproduce Steps to reproduce the behavior:

  1. Execute a backup when disk is full

Expected behavior When it fails I expect that it delete the broken backup file to avoid wasting space and do not delete the oldest one since the new is failed.

System (please complete the following information):

Backup-log