Displaying 20 results from an estimated 700 matches similar to: "Patch to make rsync preserve access times"
2004 Apr 20
1
improved atime patch
I posted a patch a few days ago that adds copying of atime. At that
time, it was just enabled with -t/--times. After some time, we have
figured out that that choice might not have been the best. Here's a
new version of the patch (relative to CVS) that adds -A/--copy-atime
instead. It also includes a test case.
Any feedback on this patch and/or the previous one that I posted?
2004 Apr 10
0
patches for copying atimes
Hi.
Here's a patch for copying the atimes of files when -t/--times is
given. I bumped the protocol to 29 since it sends more data over the
wire. It obviously does not send the atime if it's sending data to an
older rsync version.
It passes all the tests (including the added atime.test) for me on a:
Linux Debian/3.0 gcc 2.95.4 (debian), glibc 2.2.5 system.
Any questions/feedback? I
2002 Sep 10
0
[PATCH] Add --preserve-atime switch to rsync
In the past there have been discussions about adding a switch to rsync to
preserve the atime on files being copied by rsync. I needed this function
for a project I'm working on and decided to invent it. I've attached the
diffs. Note that this has the limitations describe in previous emails,
namely that preserving atime causes ctime to not be preserved.
*** Patch follows ***
***
2004 Sep 15
0
[Bug 1764] New: dry-run does not show changes in owner / group, permission, or timestamp
https://bugzilla.samba.org/show_bug.cgi?id=1764
Summary: dry-run does not show changes in owner / group,
permission, or timestamp
Product: rsync
Version: 2.6.3
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
2006 Jan 24
1
propagate atimes with rsync-2.6.6 (fwd)
Dear Martin Pool.
We regularly use rsync for making backups of our file systems but we have
noticed that the atimes are not transferred with the files and are also
always updated on the sender's side. Therefore, we have created a modified
version of rsync based on rsync-2.6.6 protocol version 29 which transfers
the access times with the transferred files and also allows to preserve
the access
2005 Jul 31
1
I think I found a bug...
I am looking at rsync 2.6.6
When I try to rsync a directory using --link-dest it
never creates hardlinks.
After crashing my way through the code here is what I
found:
generator.c: function 'unchanged_file'
if (ignore_times)
return 0;
return cmp_modtime(st->st_mtime, file->modtime) ==
0;
shouldn't these lines be:
if (ignore_times)
return 1;
2002 May 16
1
[patch] suggestions for -v option
The attached patch makes two changes to the behavior of the -v option:
1) The initial "building file list ... done" and the last two lines
with transfer statistics are moved to verbose level 2, which means
that you have to specify -vv to see them. When I use -v, I only want
to see which files are being updated.
Perhaps the statistics could be controlled by a separate option,
2005 Jan 05
1
rsync filename heuristics
On 5 Jan 2005, Rusty Russell <rusty@rustcorp.com.au> wrote:
> On Tue, 2005-01-04 at 18:24 +0100, Robert Lemmen wrote:
> > hi rusty,
> >
> > i read on some webpage about rsync and debian that you wrote a patch to
> > rsync that let's it uses heuristics when deciding which local file to
> > use. could you tell me whether this is planned to be included in
2004 Jun 21
0
Problem found and fixed with --update
Greetings, all.
A co-worker has found a problem with using the '--update' option of rsync, but
happily he was able to fix it. Since I'm the one who's subscribed to the
rsync mailing list, I'm the one that gets to share it with y'all. ;)
A snippet of his email to our developers describes the problem:
> Subject: rsync fixed: --update bug
> Date: Friday 18 June
2005 Jul 26
1
itemize() needs to use CHMOD_BITS (patch)
When syncing from Linux to Aix --itemize-changes with --perms lists
directories every time because the high-order st_mode bits for
directories differ between the two systems, and itemize() isn't masking
them with CHMOD_BITS. Here is a fix, tested with 2.6.6pre1.
PS: I'm not subscribed to this mailing list, please Cc: if you need
more info from me. Thanks.
--- generator.c.~1~ Thu Jun
2008 Sep 23
1
DO NOT REPLY [Bug 5789] New: rsync trying to set times on symlinks
https://bugzilla.samba.org/show_bug.cgi?id=5789
Summary: rsync trying to set times on symlinks
Product: rsync
Version: 3.0.4
Platform: x86
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: paredes@aecom.yu.edu
2004 May 06
2
rsync-2.6.2: NFS clients confused after an rsync
We use rsync to update an nfs server. After an update, we noticed that
a large number of clients didn't see the updated data.
It took me a while to be able to reliably reproduce this problem, but it
happens on old and new versions of rysnc. It also happens across all
the platforms we use here (sun/linux/netapp).
This shows the problem: [Note my home directory is NFS mounted]
2004 May 10
2
read error produces null-byte-filled destination file
I've run into a bug in the IO handling when reading a file. Suppose I
have a file that lives on an NFS filesystem. That filesystem is NOT
being exported with auth=0 permissions. So, if I try to access a file
as root, it successfully opens the file, but subsequent reads fail with
EACCES. This produces a destination file full of null bytes. I
noticed this with 2.5.7, but checked 2.6.2 as
2008 Feb 15
4
Revised flags patch
Hi,
first of all, sorry for taking so long. Unfortunately, some other tasks
kept coming up. Anyway, attached is the version of the flags patch, that
is based on the one I'm using with 2.6.9. It is against the rsync-3.0.0pre9
release.
I've included the option name change from the repository, so the
option is now called --fileflags. Improved from the previously
distributed version is the
2006 Jun 02
3
[PATCH] --omit-dir-changes, qsort<>mergesort issues
Hi all,
I recently ran into some problems with rsync. My plan is to renew some of
our old administration concepts from early 90's, I already replaced rdist
with rsync a few years ago.
Because of the rdist legacy, the current method requires synchronizing
files into 6 different locations, {/alt,/usr/alt}/{hostdep,sysdep,hutdep},
which in turn are prioritized by a tool that just symlinks
2003 Jul 24
0
(no subject)
Here is a diff which should allow applying batch updates remotely ( as
apposed to copying the batch files to the remote server and running rsync
there ).
Eg
rsync --write-batch=test src dst1::dst
rsync --read-batch=test dst2::dst
Oli Dewdney
diff -E -B -c -r rsync-2.5.6/flist.c rsync-2.5.6-remotebatch/flist.c
*** rsync-2.5.6/flist.c Sat Jan 18 18:00:23 2003
---
2003 Oct 03
2
Cygwin/rsync Hang Problem Testing Results
People of cygwin & rsync,
I recently attempted to get cygwin and rsync working to solve a
backup/mirroring need in my computer life. Well, as you might guess, I
ran into a little but of trouble.
Strangely enough, rsync seemed to be regularly hanging when I attempted
to do a "get" (sycronize a remote to a local dir). Well, considering I
want to automate this, that was not going
2002 Nov 10
0
bug with symlinks
Hello,
I am mirroring the debian tree using rsync. I realised following bug.
Version: 2.5.5-0.2 on Debian GNU/Linux. Rsync did not correct old symlinks.
# ls -l debian-non-US/dists/
total 60
drwxr-xr-x 2 root root 4096 Apr 17 2001 Debian2.2r7/
drwxr-xr-x 2 root root 4096 Feb 28 2001 Debian3.0r0/
drwxr-xr-x 2 root root 4096 Nov 10 02:30
2004 Aug 05
0
[Bug 1582] New: rsync dry run cannot find missing folders, contradicts actual run.
https://bugzilla.samba.org/show_bug.cgi?id=1582
Summary: rsync dry run cannot find missing folders, contradicts
actual run.
Product: rsync
Version: 2.6.2
Platform: All
OS/Version: IRIX
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
2009 May 15
1
rsync creates file twice
Hi,
I'm using rsnapshot 1.3.1 on a Synology Diskstation ds 107+.
# uname -a
Linux ds107 2.6.15 #832 Sat Mar 7 00:44:45 CST 2009 armv5tejl GNU/Linux
rsnpahot uses rsync, on my box there is:
# rsync --version
rsync version 3.0.6 protocol version 30
Copyright (C) 1996-2009 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit