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 Web Server
  • Search

Migrate server

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
jose
Posts: 21
Joined: Fri Dec 29, 2017 3:25 pm

Os: CentOS 6x
Web: nginx + php-fpm
Migrate server
  • Quote

Post by jose » Thu Nov 01, 2018 12:45 pm

Hi. I have vps1 (IP1) and vps2 (IP2)

If i backup vesta in vps1 and i try to restore it in vps2, should i do something special because they have different IP?

(in vps1 i have 50 websites with DNS with IP1)
Top

plutocrat
Posts: 232
Joined: Fri Jan 27, 2017 9:16 am

Os: Ubuntu 17x
Web: apache + nginx
Re: Migrate server
  • Quote

Post by plutocrat » Fri Nov 02, 2018 8:55 am

I haven't tried this, but I think the accepted way to migrate is to set up Vesta on the second server in an identical configuration. Then you backup a user on the first server, copy the backup over to the new server, and then restore it on the new server.

For example:
v-backup-user admin
copy /backup/admin.2018-10-31_05-10-04.tar to new vesta install. Put it in the /backup folder. Then ...
v-restore-user admin admin.2018-10-31_05-10-04.tar

If you do it that way, you don't have to worry about the IP address.
Top

SergioB
Posts: 1
Joined: Thu Nov 01, 2018 6:13 pm
Contact:
Contact SergioB
Website

Os: Ubuntu 15x
Web: apache + nginx
Re: Migrate server
  • Quote

Post by SergioB » Fri Nov 02, 2018 9:40 am

Hi Jose, I would like to know how you did, if you had any problem, or as said plutocrat did not have any problem with the IP
Greetings
Top

jose
Posts: 21
Joined: Fri Dec 29, 2017 3:25 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: Migrate server
  • Quote

Post by jose » Fri Nov 02, 2018 12:36 pm

You will have problems with the ip if its not the same. 100% sure

The DNS have the old IP.
Top

plutocrat
Posts: 232
Joined: Fri Jan 27, 2017 9:16 am

Os: Ubuntu 17x
Web: apache + nginx
Re: Migrate server
  • Quote

Post by plutocrat » Sun Nov 04, 2018 7:03 am

Oh well yes, if you're using the VestaCP for DNS, then you'll have to also change the nameservers to the new server IP.

If you're using external DNS, then you'll have to also update the A, CNAME and MX records appropriately.

I thought the original question was more about changing the IP address of a VestaCP server, which is a bit fiddly, but possible.
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Web Server”



  • 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