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: protocol incompatibility (code 2) at rsync.c(370) [receiver=3.2.5]
unexpected tag 62 [receiver/inc]In server/client side, I use similar version OS which's 13.1-RELEASE-p1. And here rsync version that I have:
server# pkg info rsync rsync-3.2.5 Name : rsync Version : 3.2.5 Installed on : Sat Aug 20 13:33:47 2022 WIB Origin : net/rsync Architecture : FreeBSD:13:amd64 Prefix : /usr/local Categories : net Licenses : GPLv3+ Maintainer : rodr...@freebsd.org WWW : http://rsync.samba.org/ Comment : Network file distribution/synchronization utility Options : DOCS : on FLAGS : on ICONV : on POPT_PORT : off RENAMED : off SSH : on ZLIB_BASE : on Shared Libs required: libzstd.so.1 libxxhash.so.0 liblz4.so.1 libiconv.so.2 Annotations : FreeBSD_version: 1300139 cpe : cpe:2.3:a:samba:rsync:3.2.5:::::freebsd13:x64 repo_type : binary repository : FreeBSD Flat size : 824KiB Description : rsync is a replacement for rcp that has many more features. rsync uses the "rsync algorithm" which provides a very fast method for bringing remote files into sync. It does this by sending just the differences in the files across the link, without requiring that both sets of files are present at one of the ends of the link beforehand. This makes rsync a good remote file distribution/synchronization utility in a dialup PPP/SLIP environment. Note, requires rsync on the destination machine. There is a Computer Science Technical Report on the rsync algorithm is included in the distribution, and is available as ftp://samba.anu.edu.au/pub/rsync/tech_report.ps WWW: http://rsync.samba.org/ client# pkg info rsync rsync-3.2.5 Name : rsync Version : 3.2.5 Installed on : Sat Aug 20 13:43:46 2022 WIB Origin : net/rsync Architecture : FreeBSD:13:amd64 Prefix : /usr/local Categories : net Licenses : GPLv3+ Maintainer : rodr...@freebsd.org WWW : http://rsync.samba.org/ Comment : Network file distribution/synchronization utility Options : DOCS : on FLAGS : on ICONV : on POPT_PORT : off RENAMED : off SSH : on ZLIB_BASE : on Shared Libs required: libzstd.so.1 libxxhash.so.0 liblz4.so.1 libiconv.so.2 Annotations : FreeBSD_version: 1300139 cpe : cpe:2.3:a:samba:rsync:3.2.5:::::freebsd13:x64 repo_type : binary repository : FreeBSD Flat size : 824KiB Description : rsync is a replacement for rcp that has many more features. rsync uses the "rsync algorithm" which provides a very fast method for bringing remote files into sync. It does this by sending just the differences in the files across the link, without requiring that both sets of files are present at one of the ends of the link beforehand. This makes rsync a good remote file distribution/synchronization utility in a dialup PPP/SLIP environment. Note, requires rsync on the destination machine. There is a Computer Science Technical Report on the rsync algorithm is included in the distribution, and is available as ftp://samba.anu.edu.au/pub/rsync/tech_report.ps WWW: http://rsync.samba.org/So, this affected to several removing directory on client side. But without option --delete is fine. Thanks.
-- Regards, Budi Janto
OpenPGP_signature
Description: OpenPGP digital signature
-- 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