Re: server synchronization?
- From: Andy Hassall <andy@xxxxxxxxxxx>
- Date: Fri, 08 Apr 2005 21:01:04 +0100
On Fri, 8 Apr 2005 17:54:13 +0200, "WebRod" <nomail@xxxxxxxxxxx> wrote:
>i am tyring to find a solution to synchronize 2 environnement for months!!
>
>How do you synchonize one (or several!!) production environnement from
>DEV????
>
>I am looking for a software with these functionnalities:
>- FTP synchronization
>- synchronize ONLY updated files!!
>- should not add other files than mine (like Microsoft frontpage which adds
>a lot of files during the synchonization and do not remove them, i guess it
>uses them to know which file needs to be synchronized)!!!)
>- should be able to synchronize 1 or SEVERAL production environment from ONE
>DEV environment (the same one). For example you create a GROUP of production
>servers and you can synchronize only one of them or select the group and it
>synchronize all of them!
>
>Most of the softwares use the updated flag (which is automatically set by
>the system when you update a file) and unset it after the copy!! That's bad
>because I can't synchronize a second environement in that case!! Because all
>the updated flags have been unset after the first synchronisation!!!!
>
>I found the perfection (99%) : Smart SYnc Pro (it do not use FTP so I have
>added WebDrive). BUT, since 1 month, when it synchronizes, it display serror
>message saying a file has not been found, remove a file in the PRODUCTION
>environment (not always the same) and do not copy the original file!! So my
>production web site is down!!!!! I need to relaunch the synchronization
>process.
>
>Do you know another software???
At work I just use the source control system - the production server regularly
updates from source control, bringing in the completed code. This works nicely
because we use CM Synergy which (a) doesn't add extra files to the workarea,
and (b) has good ways of controlling which versions of files reach production
projects versus development projects.
For my own stuff, I use Subversion for source control, which is good but does
add a lot of extra ".svn" subdirectories - plus it'd be a bit fiddly to connect
my host's server to my Subversion repository on my LAN. So I use "svn export"
to get a clean copy of the latest version, and then use "rsync -r -z -l
--delete" to copy the files over - rsync handles only copying updated files
(and even more it's smart enough to transfer only chunks of files that have
changed), and the --delete means any obsolete files on the target get removed.
Doesn't rely on any update or archive flags; rsync works off checksums that it
calculates whilst it runs. It's also been around for years, so is tried and
tested. It's easiest to use if you have SSH access to your host.
--
Andy Hassall / <andy@xxxxxxxxxxx> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
.
- References:
- server synchronization?
- From: WebRod
- server synchronization?
- Prev by Date: newbie to PHP reports
- Next by Date: Re: newbie to PHP reports
- Previous by thread: Re: server synchronization?
- Next by thread: db synchronization
- Index(es):
Relevant Pages
|