Displaying 20 results from an estimated 30000 matches similar to: "--compare-dest and missing files"
2008 Mar 14
1
Possibile rsync --link-dest or --compare-dest bug
Hi all,
I have just migrated my tooling from version 2.6.9 to 3.0.0.
Unfortunately my script generated an error message during the execution.
Because this command was working perfectly in the previous version I suspect
this could be a bug.
This is the command that I am executing:
rsync -av --link-dest=20080313/ --compare-dest=/data/20080313/ 20080313/
/data/20080314/
It just
2005 Mar 31
2
Some files not logged when using --compare-dest. Bug?
Hi again.
I just spotted another peculiarity when inspecting the rsync log. When
using --compare-dest, source files that have permissions that differ
from the "comparables" are not logged, unless you're using -i.
Here's a testing session:
$ ls -lR
.:
total 12
drwxr-xr-x 2 vidar users 4096 2005-03-31 14:16 cmp/
drwxr-xr-x 2 vidar users 4096 2005-03-31 14:23 dst/
2009 Jan 15
2
--compare-dest; I'm missing the boat
I must be seriously misunderstanding the man page coverage of
--compre-dest. My take was that if a file in compare-dest=dir
matches a file in SOURCE/ then it won't be transferred to DEST/.
I tried this test. (d1 has single files and 2 subdir with files)
cp -a d1 d1a
mkdir d2
rsync -avv --compare-dest="./d1a" d1/ d2/
d1a is carbon copy of d1 but still every last file in
2013 Jan 29
2
--compare-dest -- copy ONLY files with content-differences between 2 directories... to a third
Hi,
I'm having trouble with --compare-dest, to copy only files that differ in
content.
Here are the commands used thusfar:
rsync -av --checksum --delete --progress --stats --compare-dest=../old
new/ new_archive
rsync -av --checksum --delete --progress --stats --compare-dest=../new
old/ old_archive
old/
a.txt
new/
a.txt
Note: both a.txt are the same (except for a different
2007 Nov 15
1
--compare-dest not working for me. what am I doing wrong?
Hey.
Can anybody spot my mistake?
mkdir a b c
echo foo > a/test
echo foo > b/test
rsync -av --compare-dest=b a/ c/
Expected results:
no copy of a/test to c/test, since it is already present in b.
Actual results:
a/test gets copied to c/test
What is wrong here? My expectation? my syntax? I'm having the same
trouble with --link-dest, and --copy-dest. The behaviour I'm seeing
2013 Feb 13
1
[Bug 9657] New: --compare-dest results inconsistent between major 2 and major 3
https://bugzilla.samba.org/show_bug.cgi?id=9657
Summary: --compare-dest results inconsistent between major 2
and major 3
Product: rsync
Version: 3.0.9
Platform: x64
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at samba.org
2019 Nov 14
1
hardlinking missing files from src to a dest: didn't work way I thought it would.
Am 14.11.19 um 15:02 schrieb Paul Slootman via rsync:
> On Thu 14 Nov 2019, Pierre Bernhardt via rsync wrote:
> So it's looking for b/a as the link-dest directory.
>
> Use a full pathname for --link-dest to remove all uncertainty.
> E.g.:
>
> rsync -av --link-dest=$(pwd)/a a/ b/
>
> In this case, as the destination is also in same current directory, you
>
2006 Jul 13
1
RSync --compare-dest
Hi,
I have problem with --compare-dest option.
I have backup that copies all files on WINDOWS server to another computer
each Monday. On rest of weekdays I want to compare files between production
data and once backuped on Monday and copy ONLY changed/new files to third
location.
I use syntax:
rsync -av --delete-excluded
--exclude-from=/cygdrive/d/bin/backup/excludes.txt
2019 Nov 14
2
hardlinking missing files from src to a dest: didn't work way I thought it would.
Am 14.11.19 um 10:54 schrieb Paul Slootman via rsync:
> You need to specify the source directory as the link-dest directory.
Hi, I tried it also because it's an old question which has never worked
for me. Instead it creates copies and not hard links:
pierre at in94:~/tmp$ ls -li a b
a:
insgesamt 8
257315 -rw-r--r-- 1 pierre pierre 4 Nov 14 10:53 1
257316 -rw-r--r-- 1 pierre pierre 6 Nov
2003 Jul 06
0
compare-dest when DEST contains path component
Hi,
I just noticed that the value of the '--compare-dest' argument is simply
prepended to the DEST argument, even if that has path compnents. For
example with this command:
rsync -a --compare-dest=$comparedest \
remote::something/1/ \
/local/path/to/1/
if the remote 'something' module has a file called '1/2/3/4/file' (which
is going to be mirrored to
2004 Jun 22
1
Multiple --compare-dest args again
Hi all.
A while ago (April 15th or so) I posted a patch that allows rsync to
take multiple --compare-dest or --link-dest arguments, allowing
fetching of files not present in multiple trees. I never got any
feedback on it, though, so I'm picking it up again. :) Is there any
interest in such a patch at all?
Below is the usage example i outlined back then;
--start--
[...] Its primary usage is
2008 Jul 29
1
DO NOT REPLY [Bug 5647] New: A way to make earlier --compare-dest dirs hide later ones
https://bugzilla.samba.org/show_bug.cgi?id=5647
Summary: A way to make earlier --compare-dest dirs hide later
ones
Product: rsync
Version: 3.1.0
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P3
Component: core
AssignedTo: wayned@samba.org
2004 Jul 03
0
[Bug 1479] --compare-dest suppresses output file if same timestamp present
https://bugzilla.samba.org/show_bug.cgi?id=1479
wayned@samba.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
------- Additional Comments From wayned@samba.org 2004-06-25 19:12 -------
Yes, it certainly can seem counter intuitive that the
2011 Dec 25
1
--compare-dest apparently incompatible with --checksum or --size-only
I am working with rsync on Debian, package version 3.0.9-1.
I am trying to use rsync --compare-dest to make a delta-copy of a directory.
In my case, the mtimes are all unreliable. The data is the same, but
the times are all messed up and always will be.
I am trying to use --compare-dest with --checksum or --size-only and it
does not work. All files are transferred and the delta copy
2004 Jul 03
0
[Bug 1479] New: --compare-dest suppresses output file if same timestamp present
https://bugzilla.samba.org/show_bug.cgi?id=1479
Summary: --compare-dest suppresses output file if same timestamp
present
Product: rsync
Version: 2.5.7
Platform: All
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P3
Component: core
AssignedTo: wayned@samba.org
2016 Jul 25
2
[Bug 12036] New: Multiple --link-dest, --copy-dest, or --compare-dest flags produce incorrect behavior
https://bugzilla.samba.org/show_bug.cgi?id=12036
Bug ID: 12036
Summary: Multiple --link-dest, --copy-dest, or --compare-dest
flags produce incorrect behavior
Product: rsync
Version: 3.1.2
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component:
2007 Sep 08
3
DO NOT REPLY [Bug 4961] New: rsync ignores --compare-dest flag?
https://bugzilla.samba.org/show_bug.cgi?id=4961
Summary: rsync ignores --compare-dest flag?
Product: rsync
Version: 2.6.9
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: jae@platinumpsi.com
2005 Oct 18
1
rsync --compare-dest creates all dirs and symlinks
Hi all,
Being a rsync newbie, I wanted to use rsync for frequent backups that
should only contain the changes.
First I made copy of the important partition of the remote PC ("gany")
using dd and mounted the resulting local file using a loop device under
/mnt/gany.
Then I tried:
rsync -Haziv --compare-dest=/mnt/gany/lib --compare-dest=/data/A/gany.1 \
root@gany:/lib/ /data/A/gany.1
2013 Jan 08
2
rsync in conjunction with the --link-dest option does not output deleted files
Hi,
I want to use rsync to make daily backups using hard-links in this way:
rsync -av --delete --link-dest=../backup_old ./source/. ./backup_new
This works great, but the problem is, that rsync does not show correctly
what action it performs (-v option). It shows correctly all new and
changed files/folders, but it does not show files that were deleted.
This works only if I do not use the
2009 Jun 12
1
--compare-dest= dir list ?
Hi,
I would like to compare a backup dir with a directory list in
--compare-dest= but I don't know how to specify this list. If a have
only one dir it's ok, but if I have 2 or more dir I have an error ?
Here is my script:
#!/bin/bash
SSH_USER=
SSH_HOST=
TOBCK=/
EXCLUDES=/root/bckscript/ns200176/excludes
LOG=/root/bckscript/ns200176/rsync_$(date +'%Y-%m-%d_%H.%M.S').log