Page 1 of 1

v-restore-user returns permission denied when extracting domain_data.tar.gz

Posted: Fri Sep 01, 2023 3:16 pm
by vesta_mtl
Hi all. I am trying to restore a user. I copied the backup file from one server to another, and ran:

Code: Select all

v-restore-user myclient myclient.2023-09-01.tar
The results look like this:

Code: Select all

-- WEB --
2023-09-01 11:05:38 myclient.ca

-- DNS --
2023-09-01 11:05:40 myclient.ca
2023-09-01 11:05:40 myclientsite2.ca

-- MAIL --
2023-09-01 11:05:40 myclient.ca

-- DB --
2023-09-01 11:05:40 myclient_1

-- CRON --
2023-09-01 11:05:48 0 cron jobs

-- USER FILES --
2023-09-01 11:05:48 .bash_logout
2023-09-01 11:05:48 .bash_profile
2023-09-01 11:05:48 .bashrc
2023-09-01 11:05:48 .cloud-locale-test.skip
2023-09-01 11:05:48 tmp
However the files are never copied into `/home/myclient/web/myclient.ca/public_html` and when I view the file `/home/myclient/web/myclient.ca/restore_errors.log` it says:

Code: Select all

tar (child): /backup/tmp.1oljBIPliY/web/myclient.ca/domain_data.tar.gz: Cannot open: Permission denied
tar (child): Error is not recoverable: exiting now

gzip: stdin: unexpected end of file
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Any idea why the permission would be denied to fully perform this restore? I have tried running `sudo su -` before, and changing the permissions of the backup file, without success.

I found a similar issue here but no resolution: https://forum.vestacp.com/viewtopic.php?t=19205

Thanks in advance for any suggestions.

Re: v-restore-user returns permission denied when extracting domain_data.tar.gz

Posted: Tue Oct 24, 2023 6:03 pm
by vesta_mtl
Hi community. Just wondering if anyone else has had this issue or might have ideas for solving. I see a similar post from two years ago but no solution. Thanks.

https://forum.vestacp.com/viewtopic.php ... 30&p=82119