Mirroring local and remote installation

Author Message

Karsten Jennissen

Monday 20 November 2006 12:44:53 pm

I bet this has been asked before.

How can i mirror a local development installation (WAMP) and a remote server (LAMP) that will eventually be the live site?

Thanks for your help!

Karsten

kracker (the)

Monday 20 November 2006 8:19:30 pm

Hey Karsten!

I would use rsync (for the files) which is supported on just about every platform on the planet.
I would use a script to drop the db and load it from a sql dump rsync'd with the files.

I this way your mirror can be cron'd to update say every 4 hours.

Cheers,
//kracker

<i>beastie boys - skills to pay the bills (super mario mix)</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Michael Maclean

Tuesday 21 November 2006 1:23:48 am

I use a thing called rsnapshot (http://www.rsnapshot.org/) to do almost exactly that.

eZpedia community documentation project | http://ezpedia.org

kracker (the)

Sunday 10 December 2006 9:08:14 am

I created a documentation entry on eZpedia on this subject.
Please feel free to add your ideas on the subject!
<i>http://ezpedia.org/wiki/en/ez/rsync</i>

Cheers,
//kracker

<i>TV - Scrubs - Theme</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.