Re: server synchronization?



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
.



Relevant Pages

  • server synchronization?
    ... How do you synchonize one production environnement from ... - synchronize ONLY updated files!! ... - should be able to synchronize 1 or SEVERAL production environment from ONE ...
    (comp.lang.php)
  • Re: Compare data in tables of different structures
    ... Currently we have two Oralce 9i databases in the production ... We synchronize them *logically* every day. ... differences first only, not solve them at this stage. ... and we will migrate this system to a new one, but at this moment we have to solve this for the production people. ...
    (comp.databases.oracle.server)
  • Re: Application "deployment" tool?
    ... ties in with SVN would be fantastic. ... environment and how things are managed. ... a UAt/QA/testing environment and the production ... create a release tag when new code is bundled up for promotion to uat ...
    (comp.databases.oracle.server)
  • Re: Splitting an DFSMShsm environment
    ... restore on the test system to an empty newly created HSM environment to ... I like this one as it leaves your production ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: The curse of constant fields
    ... EAR construction etc) for a reasonably important J2EE ... No automated testing of the complete app through its web ... Also, presumably, before you deploy to production, you deploy to a staging ... or pre-production environment which replicates the production environment, ...
    (comp.lang.java.programmer)