On 4/5/24 14:52, Mike Hughes wrote:
$Conf{PingCmd} = '/bin/echo $host';
Thanks for the idea, unfortunately same result.
2024-04-05 15:28:10 Can't find host myhost.com via NS and netbios
2024-04-05 15:28:10 can't ping (client = myhost.com); exiting
I also tried this
$Conf{PingCmd} = '/var/lib/backuppc/test.sh';
Where test.sh is +x and contains
#!/usr/bin/bash
echo `/usr/bin/date` >> /var/lib/backuppc/testlog.txt
After restarting backuppc (and the whole server for good measure, since
this problem is starting to feel weird), I tried backing up that host.
No output in the text file.
However using sudo to execute the file as backuppc user works as expected.
Ian
_______________________________________________
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/