Displaying 20 results from an estimated 20000 matches similar to: "--link-dest behavior"
2013 Aug 02
2
hardlinking and -R (multiple source directories)
Hi,
hardlinking (-H) works perfectly while using a syntax like -avhxSDH <SRC>
<DEST>
Now I have to mirror multiple SRC directories which contain hardlinks. e.
g: src1/a is a hardlink to src2/b
-RavhxSDH SRC1 SRC2 DEST
does not preserve hardlink a and b in DEST. Is there any chance to do that?
Thanks
lopiuh
-------------- next part --------------
An HTML attachment was scrubbed...
2012 Jun 05
1
Fwd: --link-dest does not appear to be linking on Cygwin
Hi:
I have attempted to following some instructions to use --link-dest in
order to preserve space for multiple backups. I'm using rsync on
Cygwin with a NAS (ext4) which does support hard-links on the
filesystem. I've written a short program that does attempt to create a
hard-link on this NAS from Cygwin and it does look to be working. If I
run ls -li on the NAS the inodes are the same.
2008 Jan 20
1
--link-dest vs. special files and owner/group changes
rsync 2.6.9 --link-dest does
- not hardlink special files (symlink, device nodes)
This doesn't take much space, but it clutters the logfiles
- change owner/groupship on the hardlink
So if I use a hard-linked-tree-per-day, it changes history also
Is this still the same with newer versions?
Are there options to modify this behavior?
If not, why not? :-)
louis
--
GMX FreeMail: 1 GB
2003 Dec 20
1
why not link devices with --link-dest option?
I notice that devices are not hardlinked when using the --link-dest
option, for instance:
rsync -aH --link-dest=../bar/ foo/ baz/
When foo/zero is a device, baz/zero is not a hardlink to bar/zero. How
come?
$ rsync --version
rsync version 2.5.6 protocol version 26
on linux 2.4.x
--
Russell Senior ``I have nine fingers; you have ten.''
seniorr@aracnet.com
2012 Mar 25
1
link(2) EMLINK error behavior with --link-dest and --hard-links
Hi,
I'm having a problem using --link-dest and --hard-links when
the fs hits the hard link limit (link(2) returns EMLINK).
Using rsync 3.0.7 an error is thrown and the target file is
not created. Glancing at git head it _looks_ like things
could now be a little nicer. Perhaps the target file is copied
instead of hard linked when hardlinking fails -- I've not
tested it.
Anyway, the
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
2007 Jan 23
1
--link-dest copying modified files
Hi!
It's me again with another --link-dest issue:
I am using dirvish (www.dirvish.org) to create daily backup on disk
images.
dirvish is using rsync with --link-dest pointing to the last good image.
This creates images with hardlinks to unmodified files. So far so good.
Now I want to create a "current" filetree with hardlinks pointing to the
last image.
rsync -vaH --delete
DO NOT REPLY [Bug 6746] New: file from link-dest-source is copies and not linked for identical files
2009 Sep 20
12
DO NOT REPLY [Bug 6746] New: file from link-dest-source is copies and not linked for identical files
https://bugzilla.samba.org/show_bug.cgi?id=6746
Summary: file from link-dest-source is copies and not linked for
identical files
Product: rsync
Version: 3.0.6
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned at
2013 Dec 19
5
[Bug 10334] New: rsync doesn't log hardlink-copies using --link-dest
https://bugzilla.samba.org/show_bug.cgi?id=10334
Summary: rsync doesn't log hardlink-copies using --link-dest
Product: rsync
Version: 3.0.9
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: Kontakt at
2008 Nov 23
1
--link-dest, update permissions w/o creating a new file
I like the behavior of first doing:
cp -al /backup/old /backup/new
rsync /source /backup/new
This way permissions will be updates throughout all snapshots (I really
don't want multiple copies of my entire music collection if I decide to
make all songs group readable... etc)
Has anyone come up with a way to do this using --link-dest?
Matt
2014 Dec 26
2
--link-dest --inplace updates files without unlinking. What to do?
Hi. This is bug report and simultaneously urgent asking for help. I am trying to write my rsync wrapper script, which will create minutely snapshots of my data using --link-dest. I want this script to be robust, it should work even if I do suspend/hibernate/reboot without notifying the script about this actions, it should work if I make hard-reset of the computer and if I disconnect network. Also
2009 Aug 11
2
I don't get --link-dest, at all
Hourly I have an rsync job backup /home to /home/backup. I have 24
directories (one for each hour):
home.0
...
home.23
Here is the script I am running via cron:
#! /usr/local/bin/bash
dest=`date +%k | sed 's/ //g'`
linkdir=`date -v-1H +%k | sed 's/ //g'`
chflags -R noschg /home/backup
rm -rf /home/backup/home.$dest
rsync -ahHP --numeric-ids --delete --stats --link-dest=../
2008 Feb 15
3
DO NOT REPLY [Bug 5263] New: failure to report deleted files with link-dest
https://bugzilla.samba.org/show_bug.cgi?id=5263
Summary: failure to report deleted files with link-dest
Product: rsync
Version: 3.0.0
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: 14709c93@mailinator.com
2006 Apr 17
12
DO NOT REPLY [Bug 3693] New: rsync can use same --link-dest file several times, leading to incorrect hard links
https://bugzilla.samba.org/show_bug.cgi?id=3693
Summary: rsync can use same --link-dest file several times,
leading to incorrect hard links
Product: rsync
Version: 2.6.8
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo:
2006 Apr 17
6
DO NOT REPLY [Bug 3692] New: regression: symlinks are created as hardlinks with --link-dest
https://bugzilla.samba.org/show_bug.cgi?id=3692
Summary: regression: symlinks are created as hardlinks with --
link-dest
Product: rsync
Version: 2.6.7
Platform: x86
URL: http://rsync.samba.org
OS/Version: FreeBSD
Status: NEW
Severity: major
Priority: P3
Component: core
2006 Sep 04
7
DO NOT REPLY [Bug 4079] New: rsync fails with --inplace, --link-dest and --no-whole-file
https://bugzilla.samba.org/show_bug.cgi?id=4079
Summary: rsync fails with --inplace, --link-dest and --no-whole-
file
Product: rsync
Version: 2.6.8
Platform: x86
OS/Version: Linux
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned@samba.org
2015 Apr 06
3
rsync --link-dest won't link even if existing file is out of date
This has been a consideration. But it pains me that a tiny change/addition
to the rsync option set would save much time and space for other legit use
cases.
We know rsync very well, we dont know ZFS very well (licensing kept the
tech out of our linux-centric operations). We've been using it but we're
not experts yet.
Thanks for the suggestion.
/kc
On Mon, Apr 06, 2015 at 12:07:05PM
2016 Feb 08
1
--link-dest not working on remote server (running daemon)
Hello,
I have read through the list of previous issues regarding this issue but
haven't been able to resolve mine. I apologize in advance for the long text
and am probably doing some simple typo. I have two servers in my setup:
*Server 1*
Doing rsync with --link-dest daily and working as expected. I'm getting the
hard links in the new daily directories.
*Server 2*
Running rsync daemon
2012 Apr 22
3
--link-dest isn't linking
rsync -Ha --link-dest=/media/4tb/bak/panic-2012-01-01 /media/2tb/bak/panic-2012-02-01 /media/4tb/bak/
root at dancer:/media/4tb/bak# ls -l panic*/home/darxus/0000_latest.jpg
-rw------- 15 darxus darxus 100772 1999-09-14 21:19 panic-2011-12-20/home/darxus/0000_latest.jpg
-rw------- 15 darxus darxus 100772 1999-09-14 21:19 panic-2012-01-01/home/darxus/0000_latest.jpg
-rw------- 1 darxus darxus
2009 Jan 12
1
Is -R --link-dest really hard to use, or is it me?
I've got a problem for which the combination of -R and --link-dest
doesn't seem to be quite enough---and I may have discovered a few
small bugs as well; test cases are below.
[And if someone has a scheme for doing this that doesn't involve rsync
at all, but works okay, I'm all ears as well---I'm not the first with
this problem.]
Here's my problem: I unfortunately need to