I'm just getting back to this. I've set up ssh on my Windows machine and I verified that I can log in from a linux box using a username and password.
I thought I would be able to set backuppc up to use rsync by looking at whatever error messages it produced but that is not working. The "BackupPC: host summary" page shows "backup in progress" for this host but it gets stuck there forever. I'm guessing that this is because the $ClientTimeout is still set to the default of 72000s = 8.33days? Need to reduce that! ... OK, so I tried reducing it to 120 but I still see the same results. I would have expected the summary page to show "timed out" instead of in progress. The event viewer on the Windows box shows a critical event that says "sshd: fatal: Timeout before authentication for 192.168.2.53 port 57432". but it doesn't says what user tried to logon or what authentication method it was expecting, I have changed the $RsyncSshArgs to "$sshPath -l steve" and I created a ssh key pair on the Windows box for user steve . Then I copied the id_rsa.pub key and added it to the known_hosts file on the NAS just like I did for the Linux box that is working. Still not working. Is there a way to get more detailed log messages from backuppc or do I need to resort to Wireshark? Steve On Mon, Jan 22, 2024 at 8:12 AM Stephen Blackwell <zephod...@gmail.com> wrote: > Thanks, everyone. I am going to set up ssh on my Windows boxes but at > least I have a back up for now. > > On Sat, Jan 20, 2024 at 6:17 PM <backu...@kosowsky.org> wrote: > >> It is safer and more versatile to setup ssh on your Windows machine >> and then just use 'rsync' >> Rsyncd uses minimal security and an incompatible config format from >> rsync-ssh. >> >> Samual Flossie wrote at about 10:15:17 -0500 on Saturday, January 20, >> 2024: >> > There are several windows rsyncd install/config tutorials. Recommend >> > looking at this one: >> > >> https://kifarunix.com/backup-windows-system-with-backuppc-using-rsyncd/ >> > >> > rsyncd is at cygwin-rsyncd <https://github.com/backuppc/cygwin-rsyncd> >> and >> > can download Cygwin-Rsyncd installer from Releases page >> > <https://github.com/backuppc/cygwin-rsyncd/releases> and and install >> it on >> > your windows system >> > (https://github.com/backuppc/cygwin-rsyncd/releases) >> > >> > Sam >> > >> > On Sat, Jan 20, 2024 at 12:22 AM Les Mikesell <lesmikes...@gmail.com> >> wrote: >> > >> > > On Fri, Jan 19, 2024 at 4:06 PM Stephen Blackwell < >> zephod...@gmail.com> >> > > wrote: >> > > > >> > > > My external backup drive died recently so I bought a NAS and >> installed a >> > > docker with Backuppc in it and set it up to backup my Linux box. >> Works like >> > > a charm. >> > > > >> > > > Now I want to add my Windows laptop to the list of clients. I was >> > > following this guide but I get this error in the XferLOG.bad.z file: >> > > > >> > > >> > > You are supposed to use the rsyncd backup method in backuppc with >> that >> > > setup, not rsync. The difference is that rsyncd expects to connect >> > > directly with a listening rsync daemon, not start one with ssh. >> > > >> > > -- >> > > Les Mikesell >> > > lesmikes...@gmail.com >> > > >> > > >> > > _______________________________________________ >> > > 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/ >> >> >> _______________________________________________ >> 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/