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

Permission denied when v-restore backup

General questions about VestaCP
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
tom256
Posts: 24
Joined: Sun Sep 16, 2018 3:51 pm

Os: Ubuntu 15x
Web: apache + nginx
Permission denied when v-restore backup
  • Quote

Post by tom256 » Wed Feb 26, 2020 10:33 pm

Hi there. I need to restore my backup file. the following tutorial worked for me and I've used it before for many times:
https://www.digitalocean.com/community/ ... -user-data

As you can see, it uses cp command to transfer backup file from server1 to server2, And I've done it before and worked.
But now I need to upload the backup file from my PC and server1 is totally offline. So I've uploaded it somewhere and then wget it's URL in /backup/ directory.

But when I try to restore I get this error:
Error: permission denied
I've tried both of these command to restore my file, but didn't work:

Code: Select all

v-restore-user my_user

Code: Select all

sudo /usr/local/vesta/bin/v-restore-user

What should I do for this "permission denied" Error?
Top

exclu254
Posts: 44
Joined: Mon Dec 23, 2019 6:44 pm

Os: Ubuntu 15x
Web: nginx + php-fpm
Re: Permission denied when v-restore backup
  • Quote

Post by exclu254 » Tue Mar 03, 2020 12:26 pm

sudo su -
Then retry
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