Hy!
It was brought to my attention that our staff was unable to restore a local user's backup, the error message is as follows:
To put it in context, the directory "/backup/n28br" is a NFS mount and it's mounted at boot time (declared in the fstab).
Despite what the error message suggests, the directory where there's only 43.22GB free is not within the backup partition (which still has 2.8TB available) instead it's the root one:
So I realized that the Backup Staging directory setup in WHM -> "Backup Configuration" was actually incorrect, it was set up as "/backup" rather than "/backup/n28br", which explains why it was trying to use the root partition as a temporary dir. So I created a "/home2/restaurar-backup" dir (257GB free) and put this path under "Backup Staging Directory", still the same error message and same alleged free disk space, which suggests cPanel is not actually using the new staging dir:
I tried restoring from command line as well by running "/scripts/restorepkg revestim", to no avail. I also restarted cPanel service just in case and ran the restore again, nothing changed. Judging by the fact that it keeps claiming there's only ~43GB, it's safe to say cPanel is still mistakenly trying to use the / partition. What am I missing here?
Thanks!
It was brought to my attention that our staff was unable to restore a local user's backup, the error message is as follows:
Code:
Could not restore account “revestim”: Insufficient disk space is available. “/backup/n28br/weekly/2020-04-08/accounts” on host “(Hostname Redacted)” has 43.22 GB free and requires at least 62.55 GB free, which includes space for temporary files.
Despite what the error message suggests, the directory where there's only 43.22GB free is not within the backup partition (which still has 2.8TB available) instead it's the root one:
Code:
/dev/xvda2 99G 50G 44G 54% /
tmpfs 7.8G 4.0K 7.8G 1% /dev/shm
/dev/xvda1 248M 98M 138M 42% /boot
/dev/xvde1 985G 752G 184G 81% /home
/dev/xvdc1 148G 13G 128G 10% /var/lib/mysql
/dev/xvdg1 985G 678G 257G 73% /home2
/dev/xvdf1 493G 251G 217G 54% /home3
10.150.39.135:/backupbr/n28br
7.3T 4.8T 2.6T 66% /backup/n28br
Code:
Could not restore account “revestim”: Insufficient disk space is available. “/backup/n28br/weekly/2020-04-08/accounts” on host “(Hostname Redacted)” has 43.22 GB free and requires at least 62.55 GB free, which includes space for temporary files.
Thanks!