Invalid dir index: -826 (-101 - -825) [receiver] -- rsync error: protocol incompatibility (code 2) at rsync.c(370) [receiver=3.2.5]

2022-09-03 Thread Budi Janto via rsync
Hi, folk. I got some problem when running this command on client side: # rsync -avPH --chown=root:wheel --chmod=D755,F644 --delete --exclude ads --exclude backup rsync://192.168.0.100/data /mnt/DATA receiving incremental file list Invalid dir index: -826 (-101 - -825) [receiver] rsync error: p

Re: rsync with mode --delete

2020-06-27 Thread Budi Janto via rsync
On 6/27/20 5:01 AM, Wayne Davison wrote: > There are several options: > > 1. Set the "pre-xfer exec = /script/name" in your daemon module and > make the script check if a /mnt/DATA/known-to-exist-subdir is > missing and if so, do an "exit 1". > 2. If your server rsync is at least 3.2.

Re: rsync with mode --delete

2020-06-26 Thread Budi Janto via rsync
On 6/23/20 12:37 PM, francis.montag...@inria.fr wrote: > If the rsync source path is /mnt/DATA yes, it will remove data on the > client, but if the source path is a sub-directory of /mnt/DATA the > rsync will fail without doing any deletion. > > To verify in dry-run ... of course. > Thanks for

rsync with mode --delete

2020-06-22 Thread Budi Janto via rsync
Hallo, I need to know, I use rsync-3.1.3_1 under FreeBSD both of server & client side. Server running ZFS with RAID system, stored data mount point to /mnt/DATA. Under certain circumstances, ZFS failure to mounting data in /mnt/DATA (Just empty directory), so client with rsync running periodically