[Bug 10545] Rsync first time deletes files, second time it synchronates files with same name

samba-bugs at samba.org samba-bugs at samba.org
Thu Apr 10 09:08:33 MDT 2014


https://bugzilla.samba.org/show_bug.cgi?id=10545

--- Comment #2 from Erik <e.d.grootjans at hccnet.nl> 2014-04-10 15:08:31 UTC ---
Thanx for your respons.


I dont understand your remark at dont rsync -c. I think i'm doing the
following:


What i do with this command is:

su - rsync -c "/usr/bin/rsync -avh  --delete --progress /var/disk/disk-20/
--exclude={/lost+found} rsync at 192.168.0.5:/var/disk/disk-01 >
$logpath/rsync.log"

Change user to user rsync 
and execute the next command (as user rsync) :

/usr/bin/rsync -avh  --delete --progress /var/disk/disk-20/
--exclude={/lost+found} rsync at 192.168.0.5:/var/disk/disk-01


In short just copy all from disk-20 to host:disk-01
( rsync -avh  --delete  /var/disk/disk-20/ rsync at 192.168.0.5:/var/disk/disk-01
)

But Also if its not efficient to move files.
Still i think its strange
Day 1: 1 mv file 1 from daily to month on host 1 (before running rsync)

On host 2; 
Day 1 : file is deleted from daily
Day 2 : file is rsynced/copied to month

why does this cost 2 days, and is it not done al the same. Just because i ask
rsync to synchronize one dir (disk-20) with one dir (disk-01)?

I want to understand..

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the rsync mailing list