Re: Rsync and different sizes

2006-10-23 Thread Valerio Daelli
On 10/22/06, Sturla Holm Hansen <[EMAIL PROTECTED]> wrote: This really cleared things up, thanx! Just one more question: Do you know of a reliable method of comparing sizes in this scenario? Sturla Hi there's a nice post today about find, xargs and md5, just search the list (md5sums). Bye Val

Re: Rsync and different sizes

2006-10-22 Thread Sturla Holm Hansen
This really cleared things up, thanx! Just one more question: Do you know of a reliable method of comparing sizes in this scenario? Sturla On Fri, October 20, 2006 11:33, Daniele P. wrote: > On Thursday 19 October 2006 23:19, Sturla Holm Hansen wrote: >> Hmm, just wondering, would hardlinks repor

Re: Rsync and different sizes

2006-10-20 Thread Valerio Daelli
On 10/20/06, Daniele P. <[EMAIL PROTECTED]> wrote: On Thursday 19 October 2006 23:19, Sturla Holm Hansen wrote: > Hmm, just wondering, would hardlinks report different sizes too? Hi if you want to preserve hard link between transer with rsync use rsync -Havz the first -H does the trick (man r

Re: Rsync and different sizes

2006-10-20 Thread Daniele P .
On Thursday 19 October 2006 23:19, Sturla Holm Hansen wrote: > Hmm, just wondering, would hardlinks report different sizes too? Remember a file stored as an hard link. Definitely yes. du, by default, reports the size of the file on disk. The size of the file on disk is file dependent on your file

Re: Rsync and different sizes

2006-10-19 Thread Sturla Holm Hansen
On Thu, October 19, 2006 13:28, Daniele P. wrote: > On Thursday 19 October 2006 12:15, Sturla Holm Hansen wrote: >> Actually it's the original that's bigger, here's the rsync-command I >> use: >> >> rsync -aizH --delete --stats --password-file=/etc/rsyncd.pass >> [EMAIL PROTECTED]::rsyncshare/* /

Re: Rsync and different sizes

2006-10-19 Thread Valerio Daelli
I'd suggest: find MYSRCDIR -type f -exec md5sum {} \;|sort>SRC find MYDESTDIR -type f -exec md5sum {} \;|sort>DEST wc -l SRC;wc -l DEST diff SRC DEST may take a bit too long, ti depends... Also in every rsync run you should check the last lines 'sent 16431711 bytes received 7000 bytes 219182

Re: Rsync and different sizes

2006-10-19 Thread Daniele P .
On Thursday 19 October 2006 12:15, Sturla Holm Hansen wrote: > Actually it's the original that's bigger, here's the rsync-command I > use: > > rsync -aizH --delete --stats --password-file=/etc/rsyncd.pass > [EMAIL PROTECTED]::rsyncshare/* /destinationdir Using '*' you could miss directories and

Re: Rsync and different sizes

2006-10-19 Thread Sturla Holm Hansen
Actually it's the original that's bigger, here's the rsync-command I use: rsync -aizH --delete --stats --password-file=/etc/rsyncd.pass [EMAIL PROTECTED]::rsyncshare/* /destinationdir I also get "SIGUSR1 or SIGINT " error on a lot of syncs, got any idea what's causing this? Sturla On Thu, O

Re: Rsync and different sizes

2006-10-19 Thread Daniele P .
On Thursday 19 October 2006 09:52, Sturla Holm Hansen wrote: > Hi list. > I'm using rsync to sync /var/lib/backuppc from a backup-server to > another server as a backup of the backup. > I run rsync, it finishes without error, but when running du -hs on > the local and remote copy of the data there'

Rsync and different sizes

2006-10-19 Thread Sturla Holm Hansen
Hi list. I'm using rsync to sync /var/lib/backuppc from a backup-server to another server as a backup of the backup. I run rsync, it finishes without error, but when running du -hs on the local and remote copy of the data there's a significant size-difference... Tried re-running rsync, same result.