UrBackup 2.5.38: huge backup linking process restarts from scratch + crashes during service shutdown

Hi,

I’m running UrBackup Server 2.5.38 on Ubuntu 26.04, installed from the official UrBackup OBS repository:

urbackup-server 2.5.38.0-1
origin: obs://build.opensuse.org/home:uroni/xUbuntu_26.04

I’ve encountered two potentially related issues.

1. Large file backup loses progress after server restart

I’m currently running a huge file backup involving approximately 2 TB of data.

UrBackup was in the middle of the file-linking phase, which takes a considerable amount of time.

Unfortunately, on October 23, 2026, the UrBackup service was automatically restarted during Ubuntu’s unattended upgrades.

After the restart, UrBackup appeared to start the linking process from scratch, rather than continuing where it left off.

This is particularly problematic for very large backups, where repeating the linking process can waste many days of processing.

2. Crashes during system maintenance

I’ve also observed two crashes associated with automatic system maintenance.

October 15, 2026 - SIGSEGV

Ubuntu Apport captured the following crash:

ProblemType: Crash
Date: Thu Oct 15 06:29:31 2026
ExecutablePath: /usr/bin/urbackupsrv
Package: urbackup-server 2.5.38.0-1
Signal: 11

This occurred during the same time window as Ubuntu’s automatic package upgrades.

I still have the 184 MB Apport crash report if it would be useful for debugging.

October 23, 2026 - General protection fault

During unattended upgrades of zlib1g and zlib1g-dev, the following events occurred:

06:54:49 systemd: Reexecution requested
         by systemctl (apt-daily-upgrade.service)

06:54:59 systemd: Stopping urbackupsrv.service

06:54:59 kernel: traps: urbackupsrv[3730188]
         general protection fault
         error:0 in urbackupsrv

06:55:23 systemd: urbackupsrv.service:
         Deactivated successfully

06:55:23 systemd: Stopped urbackupsrv.service

06:55:23 systemd: Starting urbackupsrv.service

06:55:23 systemd: Started urbackupsrv.service

The server itself was not rebooted, and the UrBackup package was not updated.

Multiple system services were restarted during this maintenance operation.

Although the UrBackup restart was initiated by system maintenance rather than the crash, the general protection fault occurred during the shutdown sequence.

I’m wondering whether this indicates a bug in UrBackup’s shutdown handling.

Thanks!

The restart comes from needrestart. After the zlib update it restarts every service that uses the old library, urbackupsrv included. You can exclude it:

/etc/needrestart/conf.d/urbackup.conf:
$nrconf{override_rc}{qr(^urbackupsrv)} = 0;

Then restart it yourself when no backup is running. For the crashes, a backtrace is more useful than the 184 MB report. Run apport-retrace on the .crash file with the -s option, or gdb on the core, and post the “bt” output of the crashing thread.

Thanks, but I know how to bypass it on my side. I reported it so it would be fixed at the source in case others would encounter it. Restarts could happen for a myriad of reasons.

Fair point. What I found in the 2.6.x source: after an interrupted file backup, the next one runs as a “resumed” backup. It reuses the file entries of the unfinished backup, so data that was already transferred isn’t downloaded again. But it builds a new backup directory, so the linking step runs again from the start. Making the linking itself resumable would need the server to store its linking progress. That’s a design question for uroni.

On the restart side, the package could ship the needrestart exclude itself, so nobody on Ubuntu gets caught by this after a library update. That would also be up to uroni, since the packaging isn’t in the main source repo.

For the shutdown crash, a backtrace is still the only thing that lets anyone find the bug. If you can run apport-retrace -s on the October 15 .crash file and post the output, I’ll look into it.

Personally I think you are running the wrong version of Ubuntu. Ubuntu server by default does not auto-update. Ubuntu desktop does. If you absolutely must have a GUI on your Ubuntu servers then use the Ubuntu Server distro and apt install ubuntu-desktop afterwards

auto-updating backup servers and in fact any servers, whether Linux or Windows, is a no-no in my org.

@tedm It’s Ubuntu server:

# dpkg-query -W ubuntu-server ubuntu-desktop

ubuntu-server   1.570.4
dpkg-query: no packages found matching ubuntu-desktop

Then you must have selected one of their “packages”

When I install Ubuntu Server I always select minimal and decline -everything- except for openssh server

Go to here: Automatic updates - Ubuntu Server documentation

and learn how to disable it or change the schedule or whatever you want to do with it.

Or just remove it