It wrongly keep the incomplete backup file when fails

Aperta
#118 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
php, wordpress
Ambito
backend

Direzione di ricerca

No source file or test is named in the report; start by reproducing a backup failure with a full disk and trace the backup and retention flow. Done means a failed backup leaves no incomplete file and does not remove the oldest valid backup, with a regression test covering that behavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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):

  • OS: Linux

Backup-log

Lingua principale
PHP
Stelle
96
Fork
48
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di wp-media/backwpup

Tutte le issue di wp-media/backwpup

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.