Displaying 20 results from an estimated 2000 matches similar to: "rsync clobbering links?"
2005 Mar 21
1
exclude problem
I have looked on the mailing lists and through rsync documentation but those
still haven't solved my problem. I may be calling rsync incorrectly but the
problem I have is that the exclude file seems to be ignored. My final goal is
to replicate an entire host, excluding some files that contain specific IP,
hostname configuration things. I'm trying to start small by mirroring a
2004 Sep 08
2
--keep-dirlinks in combination with --one-file-system
I've been using the --keep-dirlinks feature of 2.6.3pre1. I also
use -x (--one-file-system) and --delete-after.
The symlinked directories on the receiver are symlinked to a
partition other than the one where the target of the rsync resides
(that's the whole point of this nifty --keep-dirlinks feature).
I discovered that the symlinked directories are not being processed
for deletions.
2003 Dec 01
3
rsync'd destination much larger than source
Hello.
Recently, I started using rsync to backup files in my root partition on an
Ensim
box over to a remote machine. The remote machine 'pulls' from the Ensim box
using the following:
rsync -arvzx --exclude=/proc --exclude=/tmp --exclude=/mnt --delete
--delete-excluded -e ssh 192.168.0.1:/ /bkup/rootpart/
The problem is, if I 'df' the Ensim box, it reports that the entire
2005 Jan 21
5
Potential new option: --delete-during
There is a new patch named "delete-during.diff" in the CVS "patches"
dir. This patch adds the ability for rsync to incrementally delete
files in each directory during the normal course of the transfer rather
than doing a separate delete scan either before or after the transfer.
The patch renames the current --delete option into --delete-before and
makes --delete behave in the
2004 Sep 10
1
not always making hard links?
I'm using 2.6.3pre1 to transfer a rather large Debian archive
(126GB, more than 30 million files). It contains about 450 daily
snapshots, where unchanged files are hardlinked between the snapshots
(so many files have hunderds of links).
It's been running for some time now, and I found that while it's far
from done, it's already used 165GB on the receiving end. Investigation
shows
2005 May 13
2
not deleting from the root
I have a bit of an issue with rsync. I am using to keep directories in
sync via another server for backup.
Here is the server config
[w1]
path = /w1
comment = w1 web dir
[w2]
path = /w2
comment = w2 web dir
Now on the client i run this command
rsync -avv --delete --force domain.com::w1/ /w1/
It will NOT delete anything that is no on the server anymore.. for
example on the server/client there
2003 Jan 07
1
Bug or feature? --delete-after + symlinks
Hi,
sorry if this is old stuff, but I did my best to look first...
Have been getting errors along these lines:
mv mydir mdir.2002
ln -s mydir.2002 mydir
Then update mirror with rsync -av --delete-after. Without
--delete-after, no problem, with --delete-after, get a code 23.
The attached shell script will recreate the error (on my machine, at
any rate). Just run it from a clean directory.
2011 Oct 14
2
rsync compares all files again and again
Hi,
we do a 1:1 backup from our main raid to a backup raid every night with
rsync -a --delete /mnt/raid1/ /mnt/raid2
rsync is 3.09, filesystems are ext3, OS is SLES 11 SP1.
The rsync process takes several hours, even if no file has changed at all.
Using -vv I see that rsync compares all files every time and that takes
long for some hundreds of millions of small files.
Can I tell rsync it
2009 Oct 03
2
Exclude directory from --delete
I have the following 3 commands which are supposed to run every night to
back up my web server:
rsync -avve ssh --numeric-ids --delete --ignore-errors
myuser at myisp.com:/usr/home/myuser /Volumes/Downloads
rsync -avve ssh --copy-links --numeric-ids --delete --ignore-errors
myuser at myisp.com:/usr/home/myuser/mail_boxes
/Volumes/Downloads/myuser/mail_boxesBU
rsync -avve ssh --copy-links
2002 Mar 20
2
include exclude help please.
hi.
I know this is a big topic on the list, please forgive me.
rsync -avv --include "/film/jonah/**/sourceimages/*.tif" --exclude "*" /film /tmp
i'm trying to copy all *.tif 's that are in a */sourceimages/ directory
and that are only under /film/jonah.
i would like to copy the directory tree and tif files to /tmp
i was able to copy ever tif with:
rsync -a
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
2003 Aug 06
1
issue with rsync 2.5.6
Hello,
I bumped in to issue with rsync 2.5.6 while doing "sync" of large
files. Here is the error message....
"write failed on cm3.0_hpux11.11_final.tar : Error 0
rsync error: error in file IO (code 11) at receiver.c(243)
rsync: connection unexpectedly closed (13342 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)"
There is lot
2003 Oct 08
1
use rsync with filenames containing "-"
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey there,
when i try to sync two directories or files containing a "-" character
in ther path, rsync fails:
# /usr/bin/rsync --partial -rcvaLe "ssh -o UserKnownHostsFile=/dev/null -o \
StrictHostKeyChecking=no" --progress "user@server:/path/band - album/" "/path/"
this gives an error like:
rsync: on remote
2003 Dec 05
1
[PATCH] seg fault fix
This is a patch made by the redhat folks. I noticed it in their src.rpm
for rsync while I was updating it for 2.5.7. I figure at the worst, it's
a nice bit of protection. It would be cool to get this put into CVS.
--
Kees Cook
kees@kernel.org
-------------- next part --------------
--- rsync-2.4.6/main.c.foo Fri Aug 17 11:46:03 2001
+++ rsync-2.4.6/main.c Fri Aug 17 11:45:37 2001
@@
2004 Jan 21
3
2.6.0 in cygwin problem
Hello!
I need to do rsync between local drives on win32.
Rsync works, but it never ends.
I started it with -vv and it writes something like:
total: matches=0 tag_hits=0 false_alarms=0 data=0
And then it stays forever.
:-(
Could you help me?
2004 Dec 28
1
preserving symlinks
Hi,
I only want to preserv symlinks when copying but rsync deletes the
leading "/" on the target system or does nothing regarding to the
options I use.
My Symlink on the Source Filesystem : serviceWeb ->
/users/service/.public_html
results to: serviceWeb -> users/service/.public_html on the destination
Filesystem
Has anyone an idea ??
Thank?s Clemens
2005 Jan 21
1
rsync compilation
Hi all
Here is the egrep result :
egrep "SIZEOF|LONGLONG" build_mipsel/rsync-2.6.3/config.h
/* #undef HAVE_LONGLONG */
#define SIZEOF_INT 4
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
and the HAVE_LONGLONG config.log result :
rsync_cv_HAVE_LONGLONG=cross
Is there a problem with this values ?
Thanks a lot for your answer
Best regards, Florian
2005 Mar 03
1
Fwd: Re: rsync + ssh -o -p -g -l
Nota: Se adjunt? el mensaje reenviado.
_________________________________________________________
Do You Yahoo!?
Informaci?n de Estados Unidos y Am?rica Latina, en Yahoo! Noticias.
Vis?tanos en http://noticias.espanol.yahoo.com
-------------- next part --------------
An embedded message was scrubbed...
From: michael mendoza <mike114x@yahoo.com>
Subject: Re: rsync + ssh -o -p -g -l
Date:
2005 May 18
1
problem to exclude
Hi,
I want to mirror NetBSD on this server:
ftp://ftp.univ-orleans.fr/logiciel-libre/netbsd-ftp/
The problem is I dont want to mirror old versions (1.5.x)
There are 1.5* branches as subdirs of 'packages' and others at the root
of the server called 'NetBSD-release-1-5' and 'NetBSD-1.5.3'.
I want to avoid to sync them.
The command I use to sync is:
- - - - - - - - - - -
2005 Jan 06
1
How to use rsync
Hi,
I am having one machine which i want to configure as a rsync server.
Onthe machine I had kept the following file
/etc/rsyncd.conf
motd file = /etc/rsyncd.motd
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
[rsync-test]
path = /home/xidcit/test
comment = XIDC Rsync Server
uid = nobody
gid = nobody
read