[Bug 10522] --detect-renamed patch is causing deletions as if a 'delete flag' was supplied, when none have been

Saku Vainikainen saku.vainikainen at welho.com
Thu Apr 10 07:58:50 MDT 2014


I was wondering why my primary NAS was empty the other day..

It seems that my data was saved by -b option and related parameters, because all my data was hidden in the “Trashcan” -folder on the archive NAS.

I’m using rsync to make a safety copy of all files on my primary NAS:

rsync -vrtb --backup-dir=/mnt/archive/trashcan/ --suffix=".deleted-$(date +%Y%m%d%H%M%S)" --del -f "P *trashcan*" /mnt/nas/ /mnt/archive/

Is this bug to be blamed for emptying my primary NAS?

Saku.




On 10.4.2014, at 5.50, samba-bugs at samba.org wrote:

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

--- Comment #3 from J.R. <rsnc at opal.com> 2014-04-10 02:50:13 UTC ---
Created attachment 9840
--> https://bugzilla.samba.org/attachment.cgi?id=9840
revised patch  detect-renamed.diff

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 670 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.samba.org/pipermail/rsync/attachments/20140410/ee0aa48d/attachment.pgp>


More information about the rsync mailing list