SYSTEM INFORMATION | |
---|---|
OS type and version | Ubuntu 20.04 LTS |
Webmin version | 2.101 |
Virtualmin version | 7.8.2 |
Related setting | setting [Action on error] is ** Continue, but don’t purge old backups** |
In a complete virtualmin backup of all sites, when there is not enough disk space to generate the gzipped-file, the backup stops, and the remaining sites are not backuped, despite setting [Action on error] is * Continue, but don’t purge old backups*
Moreover, the error mail of backup states:
Failed backup of Virtualmin on …com to /file on SSH server …com
Backup failed! See the progress output above for the reason why. Total backup time was 30 minutes, 35 seconds.
Virtual servers that failed :
**thebigsite.com
**
Sent by Virtualmin at: https://……
Creating TAR file of home directory .. .. TAR failed! cat: write error: No space left on device
gzip: stdout: Broken pipe
/bin/tar: -: Wrote only 2048 of 10240 bytes
/bin/tar: Error is not recoverable: exiting nowSaving Virtualmin configuration .. .. done Saving templates and plans .. .. done Saving email templates .. .. done Saving custom fields, links, categories and shells .. .. done Saving custom script installers .. .. done Saving scheduled backups .. .. done Saving DKIM settings .. .. done Saving greylisting settings .. .. done Save mail rate limiting configuration .. .. done Saving mail server configuration .. .. done .. done
Thus, the following virtual servers that don’t get backuped are NOT listed in the “failed servers”, giving the impression that they got backuped, but in fact they aren’t.
So, if thebigsite.com
is a not important site, and you let it not get backuped (not great, but in stressful times can happen) for days, you end up with no backup at all of all the following sites.
IMHO, at very least, the list of erroneous servers in the mail should be completed by the following servers that didn’t get backuped because of that error, but actually, an error on one site should continue the backup, so that if others fail, they get listed too in the mail, and that others that don’t fail get actually backuped. Specially with the setting [Action on error] is ** Continue, but don’t purge old backups**