Vesta 2.0 is coming soon! See our progress update: https://vestacp.com/docs/vesta-2-update
v-restore-user
v-restore-user
Hi, I know using this command but I need only DNS restore. I need a sample using.
v-restore-user USER BACKUP [WEB] [DNS] [MAIL] [DB] [CRON] [UDIR] [NOTIFY]
I try v-restore-user admin admin.xxxxxxx.tar DNS but it restore DNS, DB, etc...
it's here response;
[root@server backup]# v-restore-user admin admin.2019-01-11_05-14-24.tar DNS
-- WEB --
-- DNS --
2019-01-11 21:13:10 c********.com.tr
2019-01-11 21:13:10 c************.com
-- MAIL --
-- DB --
2019-01-11 21:13:10 admin_oc
-- CRON --
2019-01-11 21:13:13 20 cron jobs
-- USER FILES --
2019-01-11 21:13:14 .bash_logout
2019-01-11 21:13:14 .bash_profile
2019-01-11 21:13:14 .bashrc
2019-01-11 21:13:14 .pki
2019-01-11 21:13:14 tmp
Why it restore DB and others. What is my wrong? Thanxxx.
v-restore-user USER BACKUP [WEB] [DNS] [MAIL] [DB] [CRON] [UDIR] [NOTIFY]
I try v-restore-user admin admin.xxxxxxx.tar DNS but it restore DNS, DB, etc...
it's here response;
[root@server backup]# v-restore-user admin admin.2019-01-11_05-14-24.tar DNS
-- WEB --
-- DNS --
2019-01-11 21:13:10 c********.com.tr
2019-01-11 21:13:10 c************.com
-- MAIL --
-- DB --
2019-01-11 21:13:10 admin_oc
-- CRON --
2019-01-11 21:13:13 20 cron jobs
-- USER FILES --
2019-01-11 21:13:14 .bash_logout
2019-01-11 21:13:14 .bash_profile
2019-01-11 21:13:14 .bashrc
2019-01-11 21:13:14 .pki
2019-01-11 21:13:14 tmp
Why it restore DB and others. What is my wrong? Thanxxx.
Re: v-restore-user
Hi
I never user single restoration, but you can try it from GUI and it should work
I check that script and as I understand maybe you need specify NO in options
v-restore-user USER BACKUP no dns no no no
But im not sure how works from cli exactly, I need check that function
I never user single restoration, but you can try it from GUI and it should work
I check that script and as I understand maybe you need specify NO in options
v-restore-user USER BACKUP no dns no no no
But im not sure how works from cli exactly, I need check that function
Re: v-restore-user
Thanx for answer I will try and share my experience soon.
Re: v-restore-user
It's done. I have tried "v-restore-user admin admin.2019-01-15_05-10-35.tar no yes no no no no no" and it's works. Thank you.
Re: v-restore-user
Nice, this will be in docs.gogoturk wrote: Tue Jan 15, 2019 12:41 pm It's done. I have tried "v-restore-user admin admin.2019-01-15_05-10-35.tar no yes no no no no no" and it's works. Thank you.
-
- Posts: 12
- Joined: Tue Mar 10, 2015 8:33 pm
Re: v-restore-user
Actually right format for this command is:gogoturk wrote: Tue Jan 15, 2019 12:41 pm It's done. I have tried "v-restore-user admin admin.2019-01-15_05-10-35.tar no yes no no no no no" and it's works. Thank you.
Code: Select all
v-restore-user admin admin.2019-01-15_05-10-35.tar no '*' no no no no no
Code: Select all
v-restore-user admin admin.2019-01-15_05-10-35.tar 'domain1.com,domain2.com' '*' no no no no no