On 24 Mar, 15:52, javelin <google.1.jvm.. .@spamgourmet.c omwrote:
Does anyone have any suggestions for synchronizing multiple websites?
rsync Good version control on your dev server too. I'd suggest
Subversion as the current best choice.
Also stop trying to "synchronis e" content. Just worry about
propagating in one direction, and in being able to reliably make stuff
propagate. That way it doesn't matter if you over-write content
unnecessarily, it would just be the same content anyway.
If you use Subversion, "tagging" is important to keep track of stuff
too. Don't propagate straight from the dev server, make it a rule to
always tag a build first, then propagate from that tag.
Don't let habits develop like "just tweaking it a bit" on the live
server, then back-propagating. That way lies madness.
Don't edit files during propagation, even if you do this
automatically . If you _must_ have something different (.properties
file for DB connections etc.) then treat each one as separate files
for each server. Try and limit these too.