Hi all,

I use BackupPC since years and it is such a great thing! I am used to some well known issues but currently I have one where I can not identify the reason.

I have a couple of remote hosts (VPN'd) which I am backing up. A couple of days I had some issues with the DNS and there fore the ssh login complained about the wrong ssh keys. Which is fine because BackupPC really tried to back up the wrong host. The log file tells me this:
=============================================

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:ewAnfnr***************sV0Y6c.
Please contact your system administrator.
Add correct host key in /var/lib/backuppc/.ssh/known_hosts to get rid of this 
message.
Offending ECDSA key in /var/lib/backuppc/.ssh/known_hosts:3
[ skipped 2 lines ]
Host key for remote1 has changed and you have requested strict checking.
Host key verification failed.
rsync_bpc: connection unexpectedly closed (0 bytes received so far) [Receiver]
Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 
sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 255532 inode

==============================================

DNS issue has been fixed (for sure!) but since then the two remote hosts refuse to get backed up. I did:

 * su - backuppc
 * ssh root@remote1 #went fine with no complains about a wrong key
 * Removed the key through "ssh-keygen" followed by the above ssh
   command. Went fine, save the key again.

However, I am still having issues with this host. This is the last logfile I am getting:

==============================================

2023-09-04 08:01:32 full backup started for directory /
2023-09-04 08:18:01 Got fatal error during xfer (rsync error: unexplained error 
(code 255) at io.c(226) [generator=3.1.3.0])
2023-09-04 08:18:06 Backup aborted (rsync error: unexplained error (code 255) 
at io.c(226) [generator=3.1.3.0])
2023-09-04 08:18:06 Removing prior partial backup #643
2023-09-04 08:18:06 BackupPC_backupDelete: removing #643
2023-09-04 08:18:06 BackupPC_backupDelete: Merge into backup 599
2023-09-04 08:18:08 BackupPC_refCountUpdate: hostbackuppc42  
<http://backuppc41.knebb.de/backuppc/index.cgi?host=backuppc42>  got 0 errors 
(took 2 secs)
2023-09-04 08:18:08 Finished BackupPC_backupDelete, status = 0 (running time: 2 
sec)

==============================================

My ${RsyncArgs} has added the "-v" parameter for this host. And besides of the 
DNS issue I really did not change anything on thei targets.

Anyone having ideas for further troubleshooting?

Thanks!

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