Displaying 20 results from an estimated 20000 matches similar to: "--compare-dest not working for me. what am I doing wrong?"
2010 Mar 15
2
cwrsync and link-dest option
Hello,
In a small environment I have to backup two servers, an Ubuntu 9.10
and a Windows Server 2008 machine. My Backuphost is a Ubuntu 9.10
machine as well. I installed rsync on both Ubuntu hosts from
repository (3.0.6) and cwrsync from http://www.itefix.no/i2/node/10650
(3.0.7). Then I wrote some Bash-Scripts which executes rsync every
week like that:
BACKUPDIR=/var/backup
rsync -v -a
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
2008 Feb 06
3
Windows Trouble with --link-dest set: "file not found" when rsync tries to create hard link
I have great luck running rsync from one linux system to another, or
from a windows system (with cwRsync) to a linux system.
But when I try to do an rsync backup from one directory on a Windows
system to another, it fails. The cwRsync says its version is 2.6.9.
Here's my Rsync command, boiled down to its simplest:
rsync -rlptgD -vvv --delete --delete-excluded --modify-window=2
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
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
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
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
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
2004 Oct 15
1
--compare-dest and missing files
Hi,
I've been attempting to use --compare-dest DIR SOURCE/ DEST/
If a file exists in DEST but is different to the corresponding file in
DIR, then the file is updated in DEST. This is what I would expect.
I have found that files which do not exist in DEST but do exist in DIR
and SOURCE, are not created.
Simply touching the file in DEST causes it to be updated.
This behaviour seems
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
2003 Oct 28
1
can't manage to get --link-dest working.
Hi,
I can't manage to get rsync's --link-dest option working.
Here is a step by step script which doesn't produce the good results.
# create test dir
mkdir testrsync
cd testrsync
mkdir orig
echo "abcd" > orig/testfile
# create a mirror
rsync -apog orig/ mirror/
# create another mirror using link-dest
rsync -apog --link-dest=mirror/ orig/ mirror2/
# look at inodes
ls
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
2010 Nov 09
5
Changes made to main.c on implementing real time Rsync
Hi, All,
I am implementing real-time Rsync on Windows 2008 system. I set up Rsync
server and Rsync client on two machines. An windows service is watching all
the Windows file events with FileSystemWatcher. However, the service
cannot tell the exactly what happened to folders such as create, delete, or
modified. So, I ignored folder event, and only catch file changing events.
After I catch
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/
2008 Jul 22
1
pipe cretion failure
Hi,
I am using cwRsync on windows xp and getting following error when I start
the rsync client to do local copy. Looks like some kind of permission issue.
Any configuration to be done on windows or rsync side?
C:\Program Files\cwRsync\bin>rsync -tvvvv ..\license.txt ..\dest
cmd=<NULL> machine=<NULL> user=<NULL> path=..\dest
cmd[0]=. cmd[1]=..\dest
rsync: pipe: Operation not
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
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
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:
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
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