Displaying 11 results from an estimated 11 matches for "linkdest".
2006 Apr 17
12
DO NOT REPLY [Bug 3693] New: rsync can use same --link-dest file several times, leading to incorrect hard links
...OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: hashproduct@verizon.net
QAContact: rsync-qa@samba.org
Run the following in an empty directory:
mkdir src dest linkdest
touch src/f1
rsync -a src/f1 src/f2
touch linkdest/f1
ln linkdest/f1 linkdest/f2
rsync -Ha src/ dest/ --link-dest=../linkdest/
The source files src/f1 and src/f2 are both identical to the single link-dest
file that has the names linkdest/f1 and linkdest/f2. Rsync links linkdes...
2013 Sep 04
2
issues syncing between one host and another
I have the following script that I am working on
#!/bin/bash
date=$(date +%F--%T)
#ssh parameters
user=aquj001
remotehost=qa4app
localdir=/home/aquj001/INFENG/scripts
remotedir=/home/aquj001/recievingDir.$date
linkdest=$(ssh $user@$remotehost /usr/linux/bin/readlink/
/home/aquj001/recievingDir.current)
rsync -a --compress --link-dest=$linkdest --out-format='%i %n%L %l %M'
--omit-dir-times "$localdir" "$user@$remotehost:$remotedir"
ssh $user@$remotehost /bin/rm -f /home/aquj001/recie...
2016 Jun 20
1
rsync script for snapshot backups
The scripts I use analyze the rsync log after it completes and then
sftp's a summary to the root of the just completed rsync.
If no summary is found or the summary is that it failed, the folder
rotation for that set is skipped and that folder is re-used on the
subsequent rsync.
The key here is that the folder rotation script runs separately from the
rsync script(s).
For each entity I want
2008 Mar 07
1
--detect-moved patch and --link-dest
Hi,
I am using --link-dest for my rotating backups. Noticing the
"--detect-renamed-lax" patch to rsync 3.0.0. I was hoping to make use
of the --detect-moved. Unfortunately, "--detect-moved" does not seem
to recognize the --linkdest option. A moved file is getting transferred
again and a new file is created at the receiving end instead of
linking to the moved file. Am I doing something wrong or is --link-dest
simply not supported by --detect-moved?
Here is the command I am using:
/usr/bin/rsync -aHxh --stats --numeri...
2012 Apr 15
0
Bug#666024: rsync --link-dest can incorrectly hardlink together destination files
...a and src/b are different,
> whereas the inode numbers of dst/a and dst/b are the same.
>
> Thanks,
> Ian.
>
> #!/bin/sh
> set -e
> rm -rf d
> mkdir d
> cd d
> set -x
>
> mkdir src
> echo contents >src/a
> ln src/a src/b
>
> rsync -aH src/. linkdest
>
> rm src/b
> cp -a src/a src/b
>
> rsync -aH --link-dest=`pwd`/linkdest/. src/. dst
>
> find -ls
On Tue 27 Mar 2012, Ian Jackson wrote:
>
> I wrote:
> > With rsync --link-dest, if two different source files (not hardlinked
> > to each other) are both c...
2004 Oct 18
1
check "--link-dest" directory first
...in the --link-dest directory is ignored.
The existing file will be overwritten with the new version regardless
whether the new version allready exists in the --link-dest directory.
Is there a way to mak rsync check for existing files in the --link-dest
directory first?
(something like a --check-linkdest-first option)
regards
norbert
2010 Feb 18
1
rsync: stat "/path/to/dest/file" failed: No such file or directory (2)
Well, the title says it all..
I tried to research on this subject, but didn't find anything conclusive to
me.
Can somebody explain that error? If the file on destination isnt there, why
not just copy it from source, why an error?
I did a backup with rsync -aH --linkdest="/path/to/linkdir"
/path/to/original /path/to/backup... basically rsyncing into an empty
hierarchy. No errors here.
Now, the errors come when i try to recover, after replacing the original
harddrive with an older disk backup.
The command is
rsync -aH --delete /path/to/backup/ /path/to/o...
2011 Jul 13
0
How to call rsync client so that is detects that server has gone away?
...or the destination size will multiply by
a factor of 6 or so...
The command I am using on the client is:
nice -n 19 rsync -ave "ssh -l ${LOGIN} -p ${PORT}" --links
--hard-links --perms --times --owner --group --delete --stats
--exclude-from=${RSHOME}/cfg/rsyncbackup.exclude
--link-dest=${LINKDEST} / ${LOGIN}@${IPADDRESS}:..${DEST} 2>&1 | gzip
-9 > ${LOGNAME}
The client and the QNAP are connected on the LAN with 1Gb NIC's on Gb switches.
When/if the server's rsync processes die (for an unknown reason at
this point), I'd love for the client to recognize this fact and
jum...
2011 Jul 28
20
[Bug 8336] New: parent dir permission
https://bugzilla.samba.org/show_bug.cgi?id=8336
Summary: parent dir permission
Product: rsync
Version: 3.0.8
Platform: All
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: andras.porjesz at ericsson.com
2012 Jul 26
4
Time rsYnc Machine (tym)
http://dragoman.org/tym
Regards
Tomas
2011 Jul 11
3
Feature request, or HowTo? State-full resume rsync transfer
I am looking to do state-full resume of rsync transfers.
My network environment is is an unreliable and slow satellite
infrastructure, and the files I need to send are approaching 10 gigs in
size. In this network environment often times links cannot be maintained
for more than a few minutes at a time. In this environment, bandwidth is at
a premium, which is why rsync was chosen as ideal for the