Page 1 of 1

User recover centos6.5 to 7

Posted: Sat Jan 23, 2016 2:13 pm
by gursl
Hello,

First I have to congratulate Vesta team for this great work! I am an enthusiastic IT DIYer not expert and always looking for this great tools.

I have done fresh install on my server. Originally i had Centos 6.5 now I have Centos 7. I have done an admin backup with version 15 before centos clean install.

After installing Centos 7 I have installed vestacp and tried to recover. A problem is coming under DNS process stopping to recovery DNS, Database etc..

Below screen shot

Code: Select all

[root@vps conf.d]# v-restore-user admin admin.2016-01-23.tar
-- WEB --
2016-01-23 15:44:53 
2016-01-23 15:44:53 
2016-01-23 15:45:24 
2016-01-23 15:45:26 

-- DNS --
2016-01-23 15:45:49 
2016-01-23 15:45:51 
2016-01-23 15:45:51 
2016-01-23 15:45:52 
Error: named restart failed
Can anyone assist with solution for this issue?

Thank you

Re: User recover centos6.5 to 7

Posted: Sat Jan 23, 2016 8:05 pm
by skurudo
You can restore not all from your full backup, there is options:

Code: Select all

 v-restore-user
Error: not enought arguments
Usage: v-restore-user USER BACKUP [WEB] [DNS] [MAIL] [DB] [CRON] [UDIR] [NOTIFY]
Check your logs under /var/log/vesta - about restore and named.
Need to know, what's error in named.

Re: User recover centos6.5 to 7

Posted: Sat Jan 23, 2016 8:48 pm
by gursl
I have tried follow command but goes to the same situation DNS

Code: Select all

[root@vps vesta]# v-restore-user admin admin.2016-01-23.tar [DB]

-- WEB --

-- DNS --
2016-01-23 22:38:49 
2016-01-23 22:38:50 
2016-01-23 22:38:50 
2016-01-23 22:38:51 
Error: named restart failed

Below is from error.log (is not picking the above command error not sure why?)

Code: Select all

2016-01-23 [Error 20]
2016-01-23 [Error 20]
2016-01-23 14:50:57 v-restore-user 'admin' 'admin.2016-01-23.tar' [Error 3]
2016-01-23 14:50:57 v-restore-user 'admin' 'admin.2016-01-23.tar' [Error 3]
2016-01-23 14:50:57 v-restore-user 'admin' 'admin.2016-01-23.tar' [Error 3]
2016-01-23 14:50:57 v-restore-user 'admin' 'admin.2016-01-23.tar' [Error 3]
thank you

Re: User recover centos6.5 to 7

Posted: Sun Jan 24, 2016 6:58 am
by gursl
Hello,

I have managed to solve the problem!

I have installed the VESTACP panel and left the main domain as "sub.domain.com" but should have configured as "domain.com" and this was creating the conflict! So I went back to the DNS tab in the control panel and deleted the domain "sub.domain.com" and run from the console the user recovery command again and all went fine.


After few hours reading forums looking for solution nothing but well kept trying different things and finally got it