-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rsync can in fact copy open files. What it can't handle are files
that are actively being written to at the block level at the time that
rsync attempts to read them. Rsync reads each block of the file as it
was at that particular instant me
Hi All,
I saw on previous mail thread under topic *"exclude open file in backup
with rsync (2006)"* That Rsync can't handle open files and it sends all
files without checking whether they are open.I want to know whether still
Rsync have this problem or if their any solution for
https://bugzilla.samba.org/show_bug.cgi?id=8478
Devin Nate changed:
What|Removed |Added
Attachment #6932|0 |1
is obsolete|
https://bugzilla.samba.org/show_bug.cgi?id=8478
Summary: Add an option to skip open files
Product: rsync
Version: 3.0.8
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P5
On 3. juni. 2009, at 19.31, Paul Slootman wrote:
On Wed 03 Jun 2009, Roy Sigurd Karlsbakk wrote:
On 3. juni. 2009, at 18.16, Paul Slootman wrote:
Because checking whether a process has a file open can be very
costly
in
system resources.
Not really. I'm writing some code doing this now.
On Wed 03 Jun 2009, Roy Sigurd Karlsbakk wrote:
> On 3. juni. 2009, at 18.16, Paul Slootman wrote:
>>
>> Because checking whether a process has a file open can be very costly
>> in
>> system resources.
>
>
> Not really. I'm writing some code doing this now. It will be Linux
Well, it's not somet
filename while it
is
still downloading it).
Why not just something like --ignore-open-files?
Because checking whether a process has a file open can be very
costly in
system resources.
Not really. I'm writing some code doing this now. It will be Linux
specific, but it will be fairly
>> still downloading it).
>
> Why not just something like --ignore-open-files?
Because checking whether a process has a file open can be very costly in
system resources.
Paul
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change opti
downloading it).
Why not just something like --ignore-open-files?
roy
--
Roy Sigurd Karlsbakk
(+47) 97542685 / 98013356
r...@karlsbakk.net
http://blogg.karlsbakk.net/
--
I all pedagogikk er det essensielt at pensum presenteres
intelligibelt. Det er et elementært imperativ for alle pedagoger å
On Wed 03 Jun 2009, Roy Sigurd Karlsbakk wrote:
>
> We have a box here connected to an antenna receiving rather large
> amounts of metheorological data from a satellite. the data is received
> and ransferred to another box and removed from the receiving server. I
> first thought of using rsyn
hi
We have a box here connected to an antenna receiving rather large
amounts of metheorological data from a satellite. the data is received
and ransferred to another box and removed from the receiving server. I
first thought of using rsync for this, but it seems --remove-source-
files has
Problem solved by updating to rsync 3.0.3
Cheers,
Axel.
2008/6/12 Axel Rose <[EMAIL PROTECTED]>:
> Hello all,
>
> I have trouble to use rsync (tested with 3.0.2 and 3.0.3pre2) on MacOS X
> 10.3.
> Rsync always seems to stop when working on open files (?). Source is my
https://bugzilla.samba.org/show_bug.cgi?id=5567
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|
https://bugzilla.samba.org/show_bug.cgi?id=5567
--- Comment #4 from [EMAIL PROTECTED] 2008-06-26 10:14 CST ---
Created an attachment (id=3372)
--> (https://bugzilla.samba.org/attachment.cgi?id=3372&action=view)
Close fd in the generator for empty files
I looked at the code after my
https://bugzilla.samba.org/show_bug.cgi?id=5567
--- Comment #3 from [EMAIL PROTECTED] 2008-06-26 10:14 CST ---
xattrs are probably not involved since I too can reproduce the problem by just
untarring bug5567.tar.gz (which does not have them) to /tmp (which should be
just regular ext3
"lsof -c rsync" while rsync is running to see if it has a lot of open
files?
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug, or are watching the QA contact.
--
Plea
localhost:/tmp/bug5567/source/ /tmp/bug5567/target
Expected results:
4) rsync does not give error messages
Actual results:
4) rsync complains loudly with
...
rsync: failed to open "/tmp/bug5567/target/scripts/mod/elfconfig.h",
continuing: Too many open files (24)
rsync: failed to open &qu
https://bugzilla.samba.org/show_bug.cgi?id=5567
Summary: REGRESSION: 3.0.3pre3 dies with "failed to open XXX,
continuing: Too many open files"
Product: rsync
Version: 3.0.3
Platform: Other
OS/Version: Linux
Hello all,
I have trouble to use rsync (tested with 3.0.2 and 3.0.3pre2) on MacOS X
10.3.
Rsync always seems to stop when working on open files (?). Source is my
laptop
hard disk, destination a USB attached external drive.
If I stop Firefox for instance all runs smoothly.
This is how I built
Take a look at my file.
http://www.quantumsoft.co.uk/files/pc/save_profile.zip
It contains _all_ you need to copy any directory within XP to another.
It has an example Rsync command line in the vss-exec.cmd batch file.
I use this to copy any open file in XP.
You don't need a daemon (Service) se
I've put together a suite of free commandline programs and scripts that allow a
XP user to via Rsync to copy any part of their C: drive including open files.
In effect allow them to backup all their C: drive.
It uses cwrsync for windows.
Vshadow and dosdev, free programs from Microsof
gülle
Sent: Wednesday, May 10, 2006 1:34 PM
To: 'Peter'; 'rsync'
Subject: RE: rsync ok with open files?
AFAIK, rsync cannot copy open files. Outlook must be stopped in your case.
Rgrds Tev
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
will likely need to stop BOTH outlooks.
> There's usually one running that you do not see.
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf
> Of
> > Tevfik Karag�lle
> > Sent: Wednesday, May 10, 2006 2
do not see.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> Tevfik Karagülle
> Sent: Wednesday, May 10, 2006 2:34 PM
> To: 'Peter'; 'rsync'
> Subject: RE: rsync ok with open files?
>
>
>
> AFAIK, rsy
AFAIK, rsync cannot copy open files. Outlook must be stopped in your case.
Rgrds Tev
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Peter
> Sent: Wednesday, May 10, 2006 6:06 PM
> To: rsync
> Subject: rsync ok with ope
Hi gang. I am synchronizing Windows machines (cwRsync/cygwin) with
FreeBSD server. A batch file is used to initiate the process (shell
invoked rsync daemon). My question is whether I need to tell my users
to close any affected applications (ex: Outlook; I am synchronizing the
outlook.pst file) d
Yes, the file is substantially re-arranged each night. This is the
default for Exchange 2000 and 2003 and seems to be strongly recommended.
I'm sure it would be possible to map the changes in the .edb file before
and after a defrag, I can't say how much changes.
Can anyone give me a hint how I
Ronan Guilfoyle wrote:
I'm going a little further than that;
The script backs up all open files on the server, but I sync them
directly to a standby server with Exchange installed (services are shut
down to allow me to write to the databases).
The same scripts also transfer SQL database
I'm going a little further than that;
The script backs up all open files on the server, but I sync them
directly to a standby server with Exchange installed (services are shut
down to allow me to write to the databases).
The same scripts also transfer SQL databases and general office docs
The usual practise is to use a batch script to stop the services which keep the
files you want to back up open.
Once you've done the backup, restart the services.
ie
net stop
rsync
net start
Works for me. :-)
--
Stuart Halliday
ECS Technology ltd
Registered in Scotland - #212513
--
I have VSS snapshots
created in a batch file nightly and then Rsync the contents to a remote
server.
The trick is to
mount the VSS snapshot on and empty folder or drive letter. I use a drive
letter as mounting on an empty folder means that the folder will be empty if the
snapshot has fai
Dear rsync developers,
is there a solution to backup open files with rsync on windows?
Microsoft provides a SDK for Volume Shadow Copies on XP and 2003, there
is even a commandline tool to create snapshots for backups.
http://blogs.msdn.com/adioltean/archive/2005/01/05/346793.aspx
Could
> anyone happen to know how NetApp's DataONTAP handles open files?
>
> matt
> On Aug 2, 2004, at 3:04 PM, Jim Salter wrote:
>
> > Rsync does not handle open files. Your operating system does. Either
> > the OS allows rsync access, or it doesn't. Quick
anyone happen to know how NetApp's DataONTAP handles open files?
matt
On Aug 2, 2004, at 3:04 PM, Jim Salter wrote:
Rsync does not handle open files. Your operating system does. Either
the OS allows rsync access, or it doesn't. Quick crib sheet:
Normal behavior for *BSD or Linux sy
Rsync does not handle open files. Your operating system does. Either
the OS allows rsync access, or it doesn't. Quick crib sheet:
Normal behavior for *BSD or Linux systems: the root user has access to
any file, at any time. Non-root users may or may not, depending on
system configur
I didn't see this answered in the FAQ, and it's important to one of my
application owners.
How does RSYNC handle open or write in process files?
Thank you!
J
[EMAIL PROTECTED]
[EMAIL PROTECTED]
CONFIDENTIALITY NOTICE: This message (including any attachments) may contain Molex
confidential
when rsync connects to it. It works great and will allow you
to back up ANY open file, even system files.
It would be way cool if rsync could somehow deal with open files without a
third party file manager, as the St Bernard Open file manager costs about
$500.00.
I hope someone undertakes this.
Mark
hey,,
It was long back that i read the "white paper" for st.Bernard Open file manager.
I felt some similarity between stbernard open file manager and RSYNC. One similarity
is both of them break the file into peices.
What stbernad open file manager does is it continually moniters the system.
On Wed, 2004-03-03 at 07:07, Jason M. Felice wrote:
> I now fully and completely remember why I hate Windows.
>
Good. Everyone needs reminding now and then :-)
> ... a program
> under Windows can _NOT_ open a file which has been opened if the
> original opener has not specified read sharing. No
I now fully and completely remember why I hate Windows.
I have struggled with the backup semantics options in order to get rsync
able to back up open files, and I got something that appeared like it
should work, but it didn't work. So I finally broke down and wrote a
holdopen.exe
indows box and
> mirrored the whole of C DRIVE. And Rsync mirrored each and every file
> inlcluding open files. I also read a while paper about how this works on
> the stbernard site and it said some thing similar to reparse points.
(As I already posted, I was thinking Volume Shadow Copy
On Sun, Feb 22, 2004 at 08:13:33PM +0200, you [Ville Herva] wrote:
>
> So do you reparse points by "backup semantics" or "just" being able to read
> every open file (backup capability)?
Uh, I meant Volume Shadow Copy (VSC), not reparse points. Apparently,
VSC is not available on W2k, only on XP a
an example and point them out,,,
tarun
Jason Haar <[EMAIL PROTECTED]> wrote:
On Sun, Feb 22, 2004 at 05:34:48PM -0800, Tarun Karra wrote:
> it's ok even if I have to host a rsync server on windows machine and set
> it up to backup the open files preliminarily,, The most import
you guyz know this "St Bernard open file manager". I installed the trial
version of this software on my windows box and mirrored the whole of C DRIVE. And
Rsync mirrored each and every file inlcluding open files. I also read a while paper
about how this works on the stbernard site and it s
On Sun, Feb 22, 2004 at 05:34:48PM -0800, Tarun Karra wrote:
> it's ok even if I have to host a rsync server on windows machine and set
> it up to backup the open files preliminarily,, The most important thing for
> me is *****backing up open files*.
Then you should definitely l
hi ,
>Just a note. I think the original poster was *mounting* the Win2K box from
>Linux.
it's ok even if I have to host a rsync server on windows machine and set it up to
backup the open files preliminarily,, The most important thing for me is *backing
up open files***
Just a note. I think the original poster was *mounting* the Win2K box from
Linux. As such, talking about Cygwin's attempts to use backup operators
shouldn't help at all - as that's referring to running rsync *server* under
Windows - it won't have any affect on how SMB passes locks to the SMB
client
iginal kludge. Since Windows
> > programs can't rely on being able to open files that other programs have
> > open, there would be no way to write a useful tape backup program. To
> > fix, they added "backup semantics". If your process has permission to
>
> Win32 backup semantics : what are these?
>
> Like anything else in Windows, it's a kludge ontop of a kludge ontop of
> another kludge in order to fix the original kludge. Since Windows
> programs can't rely on being able to open files that other programs have
> ope
will then open
the copy.
Some other files, however - for instance Outlook .PST files - are
absolutely uncopyable using the GUI when they are locked by the
processes that play with them.
My experience is that cygwin can open files that are locked read-only -
like partial IE downloads - but CA
On Fri, Feb 20, 2004 at 02:19:26PM -0500, Jim Salter wrote:
> Jason, this is absolutely great info on the Win32 file locking system
> and sounds like a very very interesting patch indeed.
>
> A quick question, though - how hard would it be to use backup semantics
> as a default for an additional
indows
programs can't rely on being able to open files that other programs have
open, there would be no way to write a useful tape backup program. To
fix, they added "backup semantics". If your process has permission to
do so, it can request backup semantics which will allow it to
semantics flag if it can back up open files.
great news man... awesome... good job!
Is it going to be open source or is it going to be a commercial product that we have
to buy.
thanx man.
tarun
"Jason M. Felice" <[EMAIL PROTECTED]> wrote:On Fri, Feb 20, 2004 at 08:16:4
these?
Like anything else in Windows, it's a kludge ontop of a kludge ontop of
another kludge in order to fix the original kludge. Since Windows
programs can't rely on being able to open files that other programs have
open, there would be no way to write a useful tape backup pro
manager form www.stbernard.com that when installed on windows
machine allowes you to backup the open files. But its costly and i wanted to know if
there is any opensource alternative out there, if not does any one have insight into
how it works ? wouldnt it be good to have rysnc backup open files too, n
On Thu, Feb 19, 2004 at 07:40:14PM -0800, Tarun Karra wrote:
> hi guyz,
>
> One simple question. What does rsync do when it encounters open files.
> Do we have to use open file manager(like st bernard) to back up open files or is
> there any open source open file manager or c
::coughs::
Another way of phrasing that would be to say "If your OS prevents open
files from being accessed normally, you need to deal with that at the OS
level."
And in case you were wondering, yes, Windows is a "brain-damaged" OS in
that regard (and many others, bu
On Thu, Feb 19, 2004 at 07:40:14PM -0800, Tarun Karra wrote:
> hi guyz,
>
> One simple question. What does rsync do when it encounters open files.
> Do we have to use open file manager(like st bernard) to back up open files or is
> there any open source open file manager or c
hi guyz,
One simple question. What does rsync do when it encounters open files.
Do we have to use open file manager(like st bernard) to back up open files or is there
any open source open file manager or can rsync backup open files by itself.
thanx
tarun
On 25 Jul 2002, "Childs, Jim" <[EMAIL PROTECTED]> wrote:
> Greetings.
>
> I have been looking around the web for information about what rsync does
> when the file being copied from is open and changing, but haven't seen this
> topic discussed anywhere. If you know of any place this is discussed,
On Wed, May 22, 2002 at 11:57:17AM -0400, [EMAIL PROTECTED] wrote:
> Just a few quick questions..
> Does rsync copy open files?
> If so, does file integrity remain intact?
> Im looking to backup IIS log files and maybe Oracle and SQL Server DB files. If
>rsync isnt appropri
On Wed, May 22, 2002 at 11:57:17AM -0400, [EMAIL PROTECTED] wrote:
> Just a few quick questions..
> Does rsync copy open files?
Yes.
> If so, does file integrity remain intact?
No, not if it's being modified while rsync is copying it.
> I'm looking to backup IIS log
Just a few quick questions..
Does rsync copy open files?
If so, does file integrity remain intact?
Im looking to backup IIS log files and maybe Oracle and SQL Server DB files. If rsync
isnt appropriate, what would you recommend?
Thanks for your time,
Mark J. de Jong
On Fri, Jun 01, 2001 at 08:44:18AM -0500, Dave Dykstra wrote:
> On Thu, May 31, 2001 at 03:29:42PM -0700, Adam McKenna wrote:
> > The Problem:
> >
> > Since the script runs once a minute, it is possible for the rsync to start
> > while a file is still being transferred to us. What appears to hap
On Fri, Jun 01, 2001 at 12:02:07PM -0700, Adam McKenna wrote:
> On Fri, Jun 01, 2001 at 08:44:18AM -0500, Dave Dykstra wrote:
> > There is really no way around that problem with rsync. Many other people
> > have tried to do similar things and the wisdom on the mailing list has
> > always been tha
On Fri, Jun 01, 2001 at 08:44:18AM -0500, Dave Dykstra wrote:
> There is really no way around that problem with rsync. Many other people
> have tried to do similar things and the wisdom on the mailing list has
> always been that rsync via cron is the wrong tool for applications that
> have data t
Dave Dykstra <[EMAIL PROTECTED]> wrote:
> On Thu, May 31, 2001 at 03:29:42PM -0700, Adam McKenna wrote:
> ...
> >
> > So, is there any way to have rsync skip certain files, if they are not
> > complete? There doesn't appear to be any obvious way to do this. Could
> > the rsync process be the re
On Thu, May 31, 2001 at 03:29:42PM -0700, Adam McKenna wrote:
> Background:
>
> Our web application picks up files from a repository and processes them --
> the repository is accessed by clients using SFTP. There is an rsync script
> running once per minute to sync up the client's data on the SF
Background:
Our web application picks up files from a repository and processes them --
the repository is accessed by clients using SFTP. There is an rsync script
running once per minute to sync up the client's data on the SFTP server with
the "real" repository on our application servers.
The Pr
On Thu, Feb 22, 2001 at 09:45:14AM -0600, Dave Dykstra wrote:
> On Thu, Feb 22, 2001 at 09:24:36AM -0500, Spleen wrote:
> > Ok,
> > The problem is gone. rsync now works like a charm!
> > I tried using the 251 binary, and had the same issue, however, I had only
> > replaced the binary on the rs
On Thu, Feb 22, 2001 at 09:24:36AM -0500, Spleen wrote:
> Ok,
> The problem is gone. rsync now works like a charm!
> I tried using the 251 binary, and had the same issue, however, I had only
> replaced the binary on the rsync client side ( just a mistake, I wasn't
> thinking! )
> I then proc
8 AM
Subject: Re: readlink: no such file or directory // too many open files //
problem
> On Wed, Feb 21, 2001 at 10:32:15AM -0500, Spleen wrote (in private email):
> > Thnaks for the reply! Answers to your questions are inline:
> > - Original Message -
> > From: "
> Sent: Wednesday, February 21, 2001 9:45 AM
> Subject: Re: readlink: no such file or directory // too many open files //
> problem
>
>
> > On Tue, Feb 20, 2001 at 03:04:02PM -0500, Spleen wrote:
> > > Hi,
> > > I've seen others with this problem, and thou
Hi,
I've seen others with this problem, and
thought I'd see if anyone had yet found a solution. It occurs for me on Solaris8
SPARC, and seems to be exclusive to solaris8 in my reading of the archive. Has
anyone succesfully run this on Solaris8?
I myself have succesfully managed to
transf
74 matches
Mail list logo