Permission denied when v-restore backup
Posted: 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:
What should I do for this "permission denied" Error?
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:
I've tried both of these command to restore my file, but didn't work:Error: permission denied
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?