[support] Drupal files synchronization
Mark Shropshire
mdshrops at shropnet.net
Thu Oct 22 12:11:01 UTC 2009
Ivan,
I would think that rsync would be a good way to do this with a good
bit of testing. If a user deletes a file, rsync could delete it on the
other servers. You would still rely on daily backups in case something
goes wrong or a user deletes something they should not have deleted.
I have used rysnc, but not for several prod servers behind a load
balancer. I have used it to sync sites/site.com/files between prod,
test and dev and it does work. rsync has many command switches so make
sure to read up on it and set it up with the switches you need.
Mark
On Oct 22, 2009, at 7:16 AM, Ivan Working wrote:
> Hi all,
>
> My company is using 3 Drupal servers with load balancer to
> distribute the load.
> The problem is the files in sites/default/files folder need to be
> synchronized
> among these 3 Drupal servers.
>
> I am thinking of using rsync for this purpose but I heard rsync may
> not be the
> best way to do it since it shouldn't delete the files so the number
> of files will
> grow quickly.
>
> Has anybody used rsync to synchronize the files?
> Is there a better method to synchronize files in sites/default/files?
>
> Thank you in advance!
>
> Cheers,
> Ivan
>
>
> New Windows 7: Find the right PC for you. Learn more. --
> [ Drupal support list | http://lists.drupal.org/ ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20091022/4e192b02/attachment.html
More information about the support
mailing list