How to sync "production" host into "test" host? [message #39057] |
Wed, 10 March 2010 12:10 |
shadowdemon
Messages: 9 Registered: March 2010 Location: Germany
|
Junior Member |
|
|
Hi there! I've been checking on OpenVZ for a while, waiting for it to become compatible with the newest Ubuntu, and it seems this might happen soon with Ubuntu 10.4 LTS. I haven't tried OpenVZ yet, as I see no point until it runs on my target Linux distribution. I have been using VirtualBox until now.
My setup is as follow:
1) One Productive server on the Internet, by a "provider".
2) One Test Server at home (same hardware).
3) A fast-download, but slow-upload, Internet connection.
My "development cycle" is as follow:
1) Make or use a backup of the production.
2) Download the backup from the prod to the test.
3) Try my new changes on the test,
reloading the backup until the "update scripts" works.
4) Make new backup from prod.
5) Perform changes on prod.
6) Test changes on prod.
What is the best way to setup the Containers and KVM VMs, so that this runs smoothly and keep the prod downtime to a minimum ? (by keeping the transfer duration to a minimum)
|
|
|
|
|
|
|
Re: How to sync "production" host into "test" host? [message #39348 is a reply to message #39322] |
Wed, 07 April 2010 22:17 |
nuno
Messages: 43 Registered: January 2010
|
Member |
|
|
williamsmith61 wrote on Mon, 05 April 2010 06:45 | No answer? Rolling Eyes That probably mean that either syncing VMs on several servers is easy and documented, or it's impossible.
I would be grateful if someone at least told me which is the case...
|
It's very, very easy to do. And you have 1001^n choices to do it.
I really like to avoid online migration, so my first choice would be some basic rsync scripts.
|
|
|