of rsync running
and without file locking, the additional copies simply retry to upload/download
a file that a previous copy is already working on. What I am hoping for is a
way for rsync to notice that the file is already being copied and therefore
move on to the next file.
I found
A different Kyle wrote:
I have a situation that requires the files that rsync is
uploading/downloading to be locked. The reason is because it is possible
to have more than one copy of rsync running and without file locking,
the additional copies simply retry to upload/download a file
A different Kyle wrote:
I have a situation that requires the files that rsync is
uploading/downloading to be locked. The reason is because it is possible
to have more than one copy of rsync running and without file locking,
the additional copies simply retry to upload/download a file
for the idea but I sometimes need more than one copy to run at the
same time so that won't work. File locking is about the only option I can
see.
If you need to run more than one rsync over the same tree at the same
time, you may need to rethink your tree layout and/or your approach to
whatever
Another Kyle wrote:
However, I want to schedule the script to run, say every 15 minutes.
That way if a file is put on the source side, the cript will pick it up
and begin copying it. However, if the file is a few hundred MB, it might
take longer than 15 minutes to copy it.
In other words,
On Mon, 2008-08-18 at 10:36 -0500, [EMAIL PROTECTED] wrote:
I have an identical set of directories at two locations. When a file
is added to one location, I'll call it the source side, I want to run
a script that picks up that file and copies it to the other location,
say the destination
On Mon, Aug 18, 2008 at 10:36:18AM -0500, [EMAIL PROTECTED] wrote:
In other words, I can't wait until the first run has completed the
large copy to begin copying additional files. I want to start a
second, third, fourth, etc copy that begins working on any additional
files that may have been
Hello all,
I have two web servers both mounting the same file system (with GFS). I
have a third web server which is independent from the first two, using
only its own local file systems. I need to mirror a directory within the
shared file system on the first two web servers to the local file
in into rsync to prevent
this from happening?
Rsync does no file locking. Multiple rsync processes writing
concurrently to the destination generally won't make a terrible mess
since each process updates a file by writing the new data to a temporary
file and moving it over the original
On Thu 28 Sep 2006, Aaron Hawryluk wrote:
Bit of a sticky situation - we use rsync to mirror files from a remote
staging server to our development server (both on Linux). The mirroring
works fine, however, while the rsync process is running, our apache service
on the destination system
Hi all,
Bit of a sticky situation we use rsync to mirror
files from a remote staging server to our development server (both on Linux).
The mirroring works fine, however, while the rsync process is running, our
apache service on the destination system cant access the files. Is
rsync
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 06 September 2006 05:03
To: Michael Pickard
Cc: rsync@lists.samba.org
Subject: RE: File Locking under Windows - a solution ?
Try to access the lock file using Windows shadow copy
More info on this URL
What about using some staging logic if you have enough disk space and can
introduce the logic required into your system :
1. Keep two copies of your files on your live servers: FEED-A and FEED-B
2. Initialization
a. rsync FEED-A and FEED-B with the preview server content
b. Select
We are currently using Rsync (with cygwin) to propagate
static files from a preview server (Windows) to our live servers (Windows) on
demand.
Unfortunately, because the live servers are *live*, inevitably some of the files we mean
to update are in use and therefore locked by the windows
Does anyone know of a way this locking can be overridden ? - is it
possible to 'force' updates ? it is important that all live servers
have identical filesystems.
I doubt it.
Windows Filing system doesn't work that way.
You can buy open file managers. But these are designed to allow a file
Hello,
We are currently using Rsync (with cygwin) to propagate static files
from a preview server (Windows) to our live servers (Windows) on demand.
Unfortunately, because the live servers are *live*, inevitably some of
the files we mean to update are in use and therefore locked by the
16 matches
Mail list logo