backuppc-4.4.0-5ubuntu2
Ubuntu 22.04.2 LTS

I issue a “Start Full Backup” via the web UI and the backup errors out, Errors 
from the web UI states

XferLOG file /var/lib/backuppc/pc/test.lab.real-time.com/XferLOG.0.z created 
2023-05-16 18:39:36 
Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0, newBkupNum = 
0, newBkupIdx = 0, lastBkupNum = , lastBkupIdx =  (FillCycle = 0, noFillCnt = )
Running: /usr/libexec/backuppc-rsync/rsync_bpc --bpc-top-dir /var/lib/backuppc 
--bpc-host-name test.lab.real-time.com --bpc-share-name / --bpc-bkup-num 0 
--bpc-bkup-comp 3 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 
--bpc-bkup-inode0 2 --bpc-log-level 1 --bpc-attrib-new -e /usr/bin/ssh\ -l\ 
testrsync --rsync-path=sudo\ /usr/bin/rsync --super --recursive --protect-args 
--numeric-ids --perms --owner --group -D --times --links --hard-links --delete 
--delete-excluded --one-file-system --partial --log-format=log:\ %o\ %i\ %B\ 
%8U,%8G\ %9l\ %f%L --stats --checksum 
--exclude-from=/etc/backuppc/real-time.com/all.exclude --timeout=72000 
test.lab.real-time.com:/ /
full backup started for directory /
Xfer PIDs are now 622226
This is the rsync child about to exec /usr/libexec/backuppc-rsync/rsync_bpc
testrs...@test.lab.real-time.com: Permission denied (publickey,password).   <== 
 permission denied 
rsync_bpc: connection unexpectedly closed (0 bytes received so far) [Receiver]

If I cut-n-paste the “Running” command into the backuppc user’s shell on the 
backuppc server the command works as expected.

I feels like the when the backup command is run via web it does not have access 
to the backuppc users ssh keys?
--
Bob Tanner <tan...@real-time.com>  | Phone : (952)943-8700
https://keybase.io/basictheprogram     | http://www.real-time.com
Key fingerprint = F785 DDFC CF94 7CE8 AA87 3A9D 3895 26F1 0DDB E378


_______________________________________________
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/

Reply via email to