how to use cli commands
-
- Posts: 23
- Joined: Mon Nov 21, 2016 5:47 am
- Os: CentOS 6x
- Web: apache + nginx
how to use cli commands
hello, i am new to the vestacp system, I am wondering how to use the cli commands, do I have to run something to enable them or do I need to turn on something?
I am trying to restore a user on a new server.
i got the backup on the /home/backup location, but when I do v-restore-user admin /home/backup/admin.2016-11-19.tar
I get a v-restore-user: command not found error
thanks
I am trying to restore a user on a new server.
i got the backup on the /home/backup location, but when I do v-restore-user admin /home/backup/admin.2016-11-19.tar
I get a v-restore-user: command not found error
thanks
-
- Posts: 23
- Joined: Mon Nov 21, 2016 5:47 am
- Os: CentOS 6x
- Web: apache + nginx
Re: how to use cli commands
I was able to come up with a solution, here it is:
http://easycomputertutorial.com/use-ves ... tore-user/
http://easycomputertutorial.com/use-ves ... tore-user/
Re: how to use cli commands
You can use full paht /usr/local/vesta/bin/some-commandelamigosam21 wrote:
I get a v-restore-user: command not found error
Re: how to use cli commands
For restore backup on the new server, use
But receive Error: backup admin.2016-01-01.tar doesn't exist.
Please help me.
Code: Select all
/usr/local/vesta/bin/v-restore-user admin admin.2016-01-01.tar
Please help me.
Re: how to use cli commands
Code: Select all
mkdir -p /backup
Code: Select all
mv /your-path-to-archive/admin.2016-01-01.tar /backup
Code: Select all
cd /backup
Code: Select all
/usr/local/vesta/bin/v-restore-user admin admin.2016-01-01.tar