Unable to create backups and upload to the storage
Symptoms
Creating backups in the control panel fails with the error «Failed to create backup».
When attempting to upload a created backup to the storage, the error like this is registered in the log at /usr/local/mgr5/var/backup2_cp.log:
main ERROR No disk space left on storage. Size limit: 16127602196Causes
Storage size limit in the backup settings of the control panel is insufficient for new user copies.
Solution
To check the total size of a user's copy, use the du -sh command for the directory the data is located in:
du -sh /var/www/USERNAME/data/You can increase the storage size limit in the backup settings.