Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

User recover centos6.5 to 7

General questions about VestaCP
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
gursl
Posts: 8
Joined: Sat Jan 23, 2016 1:52 pm

User recover centos6.5 to 7
  • Quote

Post by gursl » Sat Jan 23, 2016 2:13 pm

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
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: User recover centos6.5 to 7
  • Quote

Post by skurudo » Sat Jan 23, 2016 8:05 pm

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.
Top

gursl
Posts: 8
Joined: Sat Jan 23, 2016 1:52 pm

Re: User recover centos6.5 to 7
  • Quote

Post by gursl » Sat Jan 23, 2016 8:48 pm

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
Top

gursl
Posts: 8
Joined: Sat Jan 23, 2016 1:52 pm

Re: User recover centos6.5 to 7
  • Quote

Post by gursl » Sun Jan 24, 2016 6:58 am

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
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password