Missing backup file

I have upload to “Debian 9/HestiaCP/backup/admin.2019-08-15_05-10-26.tar” a file from “CentOS/VestaCP/home/backup/admin.2019-08-15_05-10-26.tar” and seted same owner and permissions, but that backup don’t appear en HestiaCP/Backups list. What is wrong?

It does not work that way :wink:

The list of backups, which are displayed in the panel itself is stored in a seperate file and is not derived live from the actual existing files.

If you want to restore your old vesta backup simply use v-restore-user command from via cli.

That worked! Thanks.

I had to do from “root” account:

cd /backup/
v-restore-user admin admin.2019-08-15_05-10-26.tar

This don’t work:

v-restore-user admin /backup/admin.2019-08-15_05-10-26.tar
Error: invalid backup format :: /backup/admin.2019-08-15_05-10-26.tar

And from “admin” account:

cd /backup/
admin@mail:/backup$ v-restore-user admin admin.2019-08-15_05-10-26.tar
/usr/local/hestia/bin/v-restore-user: line 37: /usr/local/hestia/conf/hestia.conf: Permission denied
/usr/local/hestia/func/main.sh: line 67: /usr/local/hestia/log/error.log: Permission denied
grep: /usr/local/hestia/data/users/admin/user.conf: Permission denied
mktemp: failed to create directory via template ‘/backup/tmp.XXXXXXXXXX’: Permission denied
sed: can’t read /usr/local/hestia/data/queue/backup.pipe: Permission denied
Error: Can’t create tmp dir
/usr/local/hestia/func/main.sh: line 67: /usr/local/hestia/log/error.log: Permission denied

1 Like