Page 1 of 1

Permission denied when v-restore backup

Posted: Wed Feb 26, 2020 10:33 pm
by tom256
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?

Re: Permission denied when v-restore backup

Posted: Tue Mar 03, 2020 12:26 pm
by exclu254
sudo su -
Then retry