Made a little progress on this... I finally noticed the "Last bad
XferLOG" link in the CGI interface.
It seems to be a sudo-related problem - it's prompting for a password.
Either
a) FreeBSD uses a different syntax/version in sudoers, so my NOPASSWD
line isn't working, or
b) FreeNAS does some kind of weird shuffling of the root filesystem,
apparently running it off a ramdisk or something like that and keeping
the "real" persistent root filesystem somewhere else, so perhaps the
sudoers change is getting lost somewhere in the insanity and not taking
effect as it should.
On 1/14/21 3:25 PM, Dave Sherohman wrote:
I have a test install of backuppc up and running, and backing up a
half-dozen Debian servers with no problems. Now our NAS admin has
asked me to add a freenas machine to the test, and it's just giving me
"fileListReceive failed" whenever I try to run a backup.
I've verified that I can ssh in as the bpc user without problems, and
determined that freenas puts rsync in a different place than debian
does, so I created a file at /etc/backuppc/thisnas.pl containing
$Conf {RsyncClientPath} = '/usr/local/bin/rsync';
then forced bpc to re-read the configuration and tried again, but
still "fileListReceive failed".
What's my next step for resolving this? Is it possible to get more
detailed information in the bpc logs than just "fileListReceive failed"?
Note that I do *not* have root/sudo access on the freenas machine, so
there are logs I can't check there. I instructed the nas admin to add
the line
backuppc ALL=NOPASSWD: /usr/local/bin/rsync --server --sender *
to sudoers, and he has done so, so bpc should have sufficient sudo
capability to run, even though I'm not an admin there myself.
_______________________________________________
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/