v-restore-user returns permission denied when extracting domain_data.tar.gz
Posted: Fri Sep 01, 2023 3:16 pm
Hi all. I am trying to restore a user. I copied the backup file from one server to another, and ran:
The results look like this:
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:
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.
Code: Select all
v-restore-user myclient myclient.2023-09-01.tar
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
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
I found a similar issue here but no resolution: https://forum.vestacp.com/viewtopic.php?t=19205
Thanks in advance for any suggestions.