borgbackupserver icon indicating copy to clipboard operation
borgbackupserver copied to clipboard

Backup error in logs

Open zodorm opened this issue 6 months ago • 9 comments

I got this from a Windows server 2012 R2 machine i was testing with , the backup however seems fine so just putting this here incase it helps , please let me know if anything else is needed

Image

zodorm avatar May 15 '26 12:05 zodorm

This one also , from an identical VM but with a larger data set , the backup stalled and was restarted

Image

zodorm avatar May 15 '26 12:05 zodorm

Hi @glennjossel

Can you also confirm whether the SSH/session connection itself remained stable during the full ~27 minutes of the backup in the first case? It would help determine whether this is a Borg/Cygwin I/O issue or an interrupted transport/session problem.

Also, could you verify that your Cygwin version is officially compatible with your Windows Server version? Some older Cygwin builds have known quirks around long-running POSIX emulation, pipes, signals, and filesystem operations on newer Windows Server releases (your version is 2012R2... btw pls double check)

c0dr1ver avatar May 15 '26 15:05 c0dr1ver

Hi @c0dr1ver Many thanks for the reply , you are correct , the SSH session is not stable , i didn't even consider that as the server itself is hosted at a reputable ISP , but there is definitely an issue , perhaps the vm is on a heavily used host , I have asked for it to be moved and will test again , i will have a look at Cygwin , would it not be installed with the agent install though ?

zodorm avatar May 16 '26 09:05 zodorm

Hi @c0dr1ver Many thanks for the reply , you are correct , the SSH session is not stable , i didn't even consider that as the server itself is hosted at a reputable ISP , but there is definitely an issue , perhaps the vm is on a heavily used host , I have asked for it to be moved and will test again , i will have a look at Cygwin , would it not be installed with the agent install though ?

Hi @glennjossel , you can connect your WinSrv12 and BBS instance via Wireguard VPN, ssh connection inside the tunnel much more stable and will be resumed after a short cuts.

for Cygwin need to check which version installed now, for WinSrv12 last supporting version - 3.4.10 proof: https://cygwin.com/

c0dr1ver avatar May 16 '26 10:05 c0dr1ver

Hi @c0dr1ver Many thanks for the reply , you are correct , the SSH session is not stable , i didn't even consider that as the server itself is hosted at a reputable ISP , but there is definitely an issue , perhaps the vm is on a heavily used host , I have asked for it to be moved and will test again , i will have a look at Cygwin , would it not be installed with the agent install though ?

Hi @glennjossel , you can connect your WinSrv12 and BBS instance via Wireguard VPN, ssh connection inside the tunnel much more stable and will be resumed after a short cuts.

for Cygwin need to check which version installed now, for WinSrv12 last supporting version - 3.4.10 proof: https://cygwin.com/

Thank you , ssh is working well over Netbird vpn , there is no Cygwin installed from package , I thought it was installed with the agent ? , is there a forum we can discuss in or only here ?

zodorm avatar May 17 '26 10:05 zodorm

Thank you , ssh is working well over Netbird vpn , there is no Cygwin installed from package , I thought it was installed with the agent ? , is there a forum we can discuss in or only here ?

Glad to help. I’ll honestly admit I haven’t looked into the Windows agent code itself yet, since about 95% of my infrastructure is nix-based. I just made an assumption based on the logs you shared.

That said, I do manage a few Windows servers as well (mostly Server 2019), and I’m planning to connect them to BBS too. I think @marcpope as the creator of the project will probably be able to answer this question more accurately.

As for communication - as far as I know, this GitHub space is currently the main place for discussions. Honestly, it feels like GitHub Discussions would already be enough for talking about future development ideas and project improvements, so a separate forum doesn’t seem strictly necessary at this stage.

c0dr1ver avatar May 17 '26 11:05 c0dr1ver

Thank you , ssh is working well over Netbird vpn , there is no Cygwin installed from package , I thought it was installed with the agent ? , is there a forum we can discuss in or only here ?

Glad to help. I’ll honestly admit I haven’t looked into the Windows agent code itself yet, since about 95% of my infrastructure is nix-based. I just made an assumption based on the logs you shared.

That said, I do manage a few Windows servers as well (mostly Server 2019), and I’m planning to connect them to BBS too. I think @marcpope as the creator of the project will probably be able to answer this question more accurately.

As for communication - as far as I know, this GitHub space is currently the main place for discussions. Honestly, it feels like GitHub Discussions would already be enough for talking about future development ideas and project improvements, so a separate forum doesn’t seem strictly necessary at this stage.

Thank you and i realize server 2012 R2 is very old , I also mostly have Linux servers , these are just test machines and so far apart from some small anomalies the Windows agent is very impressive , the application is pretty extensive and im still in the learning and understanding phase , just a few weeks in , appreciate the support

zodorm avatar May 17 '26 12:05 zodorm

I have not tested the borg windows version with Windows Server 2012 as it's EOL and supporting it would likely be problematic. It's likely using a Python version that is way too old. The official borg backup releases tend to follow much more modern OS so it might be a great deal of work to incorporate something that shouldn't be running these days, especially with AI attacking every single OS out there right now. The borg windows installer should be looking for the OS Version and giving an error, so that is part of the issue, it should have warned you that it's not supported. I will look into that.

marcpope avatar May 18 '26 02:05 marcpope

Opened a new bug report about this: https://github.com/marcpope/borgbackupserver/issues/274

marcpope avatar May 18 '26 02:05 marcpope