Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

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

General questions about VestaCP
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
vesta_mtl
Posts: 70
Joined: Wed Dec 21, 2016 2:08 pm

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

Post by vesta_mtl » 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:

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.
Top

vesta_mtl
Posts: 70
Joined: Wed Dec 21, 2016 2:08 pm

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

Post by vesta_mtl » Tue Oct 24, 2023 6:03 pm

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
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password