Re: rsync with --copy-devices patch and device-target with --write-batch doesnt work

2009-01-28 Thread Matt McCutchen
Freisei, please CC rsync@lists.samba.org so that others can help you and your messages are archived for others' future benefit. On Sun, 2009-01-25 at 12:08 +0100, Freisei wrote: > Matt McCutchen schrieb: > > In the > > meantime, you can strace rsync to see how the write(2) call is failing. > How c

Re: Is -R --link-dest really hard to use, or is it me?

2009-01-28 Thread Matt McCutchen
On Mon, 2009-01-26 at 03:48 -0500, foner-rs...@media.mit.edu wrote: > but eventually I'm > going to want to migrate this ext3 to ext4, and the problem will > recur at that point. Incidentally, are you sure about that? I thought one could just mount an ext3 filesystem as type ext4 and it would be

Re: rsync compression (-z) and timestamp

2009-01-28 Thread Wayne Davison
On Wed, Jan 28, 2009 at 12:35:05PM +0100, David de Lama wrote: > rsync -acv --bwlimit=1 --stats --progress --delete > 192.168.222.82:"/home/test" /backup/rsync0 > Now it takes only about 45sec. > So I am still wondering. Am I doing s.th. wrong?! The -c option tells rsync to read the source fi

DO NOT REPLY [Bug 6067] IPv6 literal addresses broken if prefixed username supplied

2009-01-28 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=6067 way...@samba.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

Re: Some help with sudo on remote side of rsync

2009-01-28 Thread Michal Soltys
Carney Mimms wrote: I am now able to ssh from remote to local and local to remote without passwords using RSA keys, but if I run the script without sudo, i.e. Sudo /usr/local/bin/rsync ... It can’t copy files that need root permissions. If I leave out the sudo and run the script after becoming

Some help with sudo on remote side of rsync

2009-01-28 Thread Carney Mimms
I have an rsync script that has worked well for me for quite a while now rsyncing RAID volumes attached to two servers, one on our LAN and one at our colocation facility. I have been struggling for months, however, to get the script to run without password prompts so I can run it on cron. The rsyn

Re: [patch] Replace illegal characters in filenames for FAT (switch)

2009-01-28 Thread Jamie Lokier
Matt McCutchen wrote: > > I'm not sure that's a grand idea really, considering the --tr option is > > obviously far more flexible, and users might not agree what it should be > > an alias for (less arguing when it's all hardcoded :)). > > I was suggesting that you define the alias for your own mac

rsync 3.0.4, Mac OS X 10.5 and NFS: ._ files not copied?

2009-01-28 Thread Bart Niswonger
Hello - I am having trouble getting getting rsync to work - or atleast, work cleanly. I have looked and looked, but have found no one with similar problems. So here I am: I appreciate any tips you might have, and apologize if I missed something obvious. Here is the setup: rsync host: iM

Re: Exclude some source files from being deleted when --remove-source-files is used

2009-01-28 Thread Matt McCutchen
On Wed, 2009-01-28 at 01:58 -0800, Martin Scharrer wrote: > I'm using rsync to transfer some files from host A to B and using > --remove-source-files to remove them from A after the transfer. Now however > I have one file 'md5sum' which should be transfered but not removed. I tried > the protect fi

Exclude some source files from being deleted when --remove-source-files is used

2009-01-28 Thread Martin Scharrer
Hi, I'm using rsync to transfer some files from host A to B and using --remove-source-files to remove them from A after the transfer. Now however I have one file 'md5sum' which should be transfered but not removed. I tried the protect filter rule but this seems not to work in this case. All other

Re: rsync compression (-z) and timestamp

2009-01-28 Thread Paul Slootman
On Wed 28 Jan 2009, David de Lama wrote: > > But the strange thing with the timestamps is still disturbing me. > I deleted the cache as Sven told me with a bash file: > > sync > echo 3 > /proc/sys/vm/drop_caches Did you do this between EVERY step below? > After creating a file of 1GB I copy it

Re: rsync compression (-z) and timestamp

2009-01-28 Thread David de Lama
Thanks a lot guys! I tested several files with the compression option and the compress level. But the strange thing with the timestamps is still disturbing me. I deleted the cache as Sven told me with a bash file: sync echo 3 > /proc/sys/vm/drop_caches After creating a file of 1GB I copy it wit