Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- server synchronization?
April 8, 2005, 10:54 pm
rate this thread
i am tyring to find a solution to synchronize 2 environnement for months!!
How do you synchonize one (or several!!) production environnement from
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
Do you know another software???
Re: server synchronization?
At the risk of blowing my own trumpet you might want to try:
I'm guessing you've got a Micr$oft setup there - Pushsite will work (but has
not been as extensively tested as on Posix). The docs also have links to
Re: server synchronization?
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.
<http://www.andyhsoftware.co.uk/space Space: disk usage analysis tool