This is rsync related, not specific to rsync-bpc.c. From options.c in 3.1.2 and 3.1.3:
/* We make use of the -e option to let the server know about * any pre-release protocol version && some behavior flags. */ eFlags[x++] = 'e'; #if SUBPROTOCOL_VERSION != 0 if (protocol_version == PROTOCOL_VERSION) { x += snprintf(argstr+x, sizeof argstr - x, "%d.%d", PROTOCOL_VERSION, SUBPROTOCOL_VERSION); } else #endif eFlags[x++] = '.'; if (allow_inc_recurse) eFlags[x++] = 'i'; #ifdef CAN_SET_SYMLINK_TIMES eFlags[x++] = 'L'; /* symlink time-setting support */ #endif #ifdef ICONV_OPTION eFlags[x++] = 's'; /* symlink iconv translation support */ #endif eFlags[x++] = 'f'; /* flist I/O-error safety support */ eFlags[x++] = 'x'; /* xattr hardlink optimization not desired */ eFlags[x++] = 'C'; /* support checksum seed order fix */ Craig On Wed, Jan 13, 2021 at 4:39 PM <backu...@kosowsky.org> wrote: > Just posting this as a change in the format of the rsync server/sender > command tripped me up when I upgraded from rsync-bpc 3.0.9 to 3.1.2. > > Specifically, I use my /etc/sudoers file to restrict the scope of the > backuppc and backuppc-client users as narrowly as possible. > > For rsync_bpc < 3.1.x, the following worked: > backuppc,backuppc-client ALL=NOPASSWD: /usr/bin/rsync > --server--sender -slHogDtpAXrxe.iLsf, /usr/bin/rsync --server --sender > -slHogDtpAXrcxe.iLsf > However, for rsync_bpc >= 3.1.x, the following is required: > backuppc,backuppc-client ALL=NOPASSWD: /usr/bin/rsync --server > --sender -slHogDtpAXrxe.iLsfxC, /usr/bin/rsync --server --sender > -slHogDtpAXrcxe.iLsfxC > where the extra characters 'xC' have been added. > > Perhaps Craig can explain what additional options they signal... > > Note the absence/presence of 'c' before the period corresponds to > incremental/full backups respectively. > > Anyway, for the life of me, I couldn't figure out why rsync_bpc >3.1.x > wasn't working for me... until I figured this out... lots of wasted > time :( > > > > _______________________________________________ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: https://github.com/backuppc/backuppc/wiki > Project: https://backuppc.github.io/backuppc/ >
_______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/