Restoring Backups Fails With Not Stored Locally Error

Nov 23, 2018
15
3
3
Denmark
cPanel Access Level
Root Administrator
Since the backup system was changed with the "relative requirement for the remote location" requirements. Backup/restore has not been working for me. I have had issues for months now.
1st issue was that the remote/additional destinations all of a sudden required a relative path, which resulted in, the backup files going to the /user directory. Which in my case was /root, which is the system drive running on a limited SSD. I need the backup to go to /data/backup from the <root>, as it is mounted on a disk station.
This I could work around by setting up the backup, then change the *.backup_destination file and add a dash in the path there.

Next issue is that i cannot restore from WHM. when i upload the account backup(*.tar.gz), to the "/backup/YEAR-MM-DD/accounts" (which i have to create, as the some update, now deletes the folders/directories after it has deleted the ".tar.gz" files, it was very convenient to keep those)
from here i used to be able to see the available restore in the list, and calendar/date selection, click the available date and click "add account to queue" button.
But now it shows a yellow warning bar "The system cannot restore backups because it does not store those backups locally." and the date selector shows as if it sees all the retained backups as being available, even though there is only one for a specific account and date, and the "add to queue" button is gone, even if I select the correct date.

Conclution: My back up is working as intended "with a workaround" but I have no way of restoring using WHM Restoration.

  • CENTOS 7.6 kvm [host]

  • v76.0.15
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello @Martin Hinrichsen,

1st issue was that the remote/additional destinations all of a sudden required a relative path, which resulted in, the backup files going to the /user directory.
Here's a link to a thread with information about the case opened to report this issue:

In Progress - [CPANEL-24094] Relative paths required for backup destinations

But now it shows a yellow warning bar "The system cannot restore backups because it does not store those backups locally." and the date selector shows as if it sees all the retained backups as being available, even though there is only one for a specific account and date, and the "add to queue" button is gone, even if I select the correct date.
Can you paste the contents of the /var/cpanel/backups/config file so we can see how backups are configured on this system?

Code:
cat /var/cpanel/backups/config
Note that if you have local backups disabled, this is a known issue and more information is available on the following thread:

In Progress - [CPANEL-24264] Backup Restoration requires local backup rentention

Thank you.