Server 2.4.3 beta/Client 2.4.1 beta

Major changes with server 2.4.x beta

  • IPv6 support (sponsored by Tuxis Internet Engineering )
  • ZSTD transport compression
  • Parallel hashing improvements

Changes with server 2.4.3 beta

  • Use heap for recursion when deleting non-empty directory
  • Make ipv6 optional per default

Changes with server 2.4.2 beta

  • Fix FreeBSD compile issue

Changes with server 2.4.2 beta

  • Fix FreeBSD compile issue

Changes with server 2.4.1 beta

  • Fix polling with ipv6 socket on Linux in ServiceAcceptor
  • Fix report script cache reload
  • Fixup backup folder location correctly (trailing slash)
  • Fix IPv6 on FreeBSD (not compile tested yet)

Changes with server 2.4.0 beta

  • Allow setting group id while adding new clients
  • Postpone metadata application of files that are in queue before reordered downloads (because of missing file in previous backup)
  • Allow ldap admin users access to all backups
  • Set file backup to incomplete during startup recovery
  • New setting to make backup dirs optional per default
  • Cleanup one image backup of each client at a time when freeing space (like with file backups)
  • Catch and log info about C++ exceptions
  • Improve parallel hash logging and properly set eof when finished
  • Do not retry getting parallel hash after error
  • Check if VHD file was opened successfully before using it (Fixes Windows crash)

Major changes with client 2.4.x beta

  • IPv6 support (sponsored by Tuxis Internet Engineering )
  • ZSTD transport compression
  • HTTPS proxy support (only with SChannel on Windows for now)
  • Parallel hashing improvements
  • Image backup performance improvement: Read-ahead file system in larger blocks

Changes with client 2.4.1 beta

  • Fix FreeBSD compile issue
  • Read-ahead file system in larger blocks during image backups
  • Make ipv6 optional per default
  • Return ipv6 zone in lookup and use it to connect

Changes with client 2.4.0 beta

  • Reset reconnect tries if more than 30min between reconnects
  • Only set reconnect_tries to 50 if it wasn’t set higher previously
  • Tool to read volume and write zeros to blocks which cannot be read
  • Set socket window size to 3MiB send buffer and 128KiB recv buffer for client on Windows
  • Fix incr image bit clashing with full file backup bit
  • Remove result writing via pipe fixing some async indexing hang-ups
  • Fix search for snapshot if VSS path is the root of a volume
  • Fix parallel hashing with VSS components
  • Hard code not following default wine z: symlink to root of fs on non-Windows
  • Functionality to interrupt parallel hash loading threads on clients
  • Don’t parallel hash files smaller than 2048 bytes
  • Add to db if there is a sub-directory because that one can be deleted and should then be removed from the db (Linux/MacOS)
  • Do not quit indexing with “no backup dirs” if components are selected for backup

Changes with Restore CD 2.2.2 beta

  • Fix GPT restore with restore disk being (slightly) smaller

Upgrade process

As always: Replace the executables (via the installers) and the database of the server/client will be updated on first running it.

Place the files from the update directory into C:\Program Files\UrBackupServer\urbackup or /var/urbackup to auto-update clients. Disable Download client from update server in the server settings to prevent the server from downloading the current version.

On Linux e.g. with this update script: https://github.com/ptempier/get_urbackupclient/blob/master/updateclient.sh

Downgrade process (server)

Stop the UrBackup server, restore C:\Program Files\UrBackupServer\urbackup or /var/urbackup from a backup before upgrade and then install the previous version over the beta release.

Downloads

1 Like

Server 2.4.3 compiles and works great on FreeNAS IPv4. Thanks!

Hi

Any plans for i386 GNU/Linux builds?

Since effectively zero Linux distros support plain i386 systems, I wouldn’t count on it. If you’re running one, you should try compiling from source and let us know how it works.

I wouldn’t call Debian “effectively zero”, it’s been in the top 10 on distrowatch since forever. If you’d said 32 bit hardware was nearly extinct I’d be forced to agree, though I still have some in use.

Without UrBackup currently, I just take offline images using dd or similar & file backups using tar, I’m not expecting 32 bit debs to appear.

I’m assuming the OP meant 32 bit (plain x86, as opposed to x86_64)

On a technical support forum or list I don’t assume the poster means anything other than what is said. No distro was mentioned, so I could only respond as if i386 means a system containing an Intel 80386 microprocessor. Whatever the processor actually in use, those unwilling to wait for a stable release when additional downloads are historically made available, may avail themselves of the beta .tar or other source openly provided.

Additional background, quoting from Debian’s notes regarding their current stable release in the flavor they call i386: (emphasis added)

2.1.2.1. CPU

Nearly all x86-based (IA-32) processors still in use in personal computers are supported. This also includes 32-bit AMD and VIA (former Cyrix) processors, and processors like the Athlon XP and Intel P4 Xeon.

However, Debian GNU/Linux buster will not run on 586 (Pentium) or earlier processors.

In case you missed it, Debian i386 hasn’t meant Intel i386, i486, or even Pentium (586) since 2016. The last release to support an Intel i486-series CPU is lenny from 2009. I can’t find any official notice of when i386 didn’t include Intel 80386; perhaps it died quietly somewhere in the 2.x releases. Intel stopped making them in 2007 and Linus Torvalds stopped supporting it in the kernel with 3.8.(Feb 2013.)

This doesn’t work for me in a ipv6-only environment.

2019-07-16 12:03:36: Trying to connect to internet server “urbackuptest.tuxis.net” at port 55415
2019-07-16 12:03:36: Socket has error: 111
2019-07-16 12:03:36: Connecting failed.

I do not see any packets to port 55415 from the client end.

Could you run it in strace? (strace -f urbackupclientbackend -i -v debug ?

975   socket(AF_INET6, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = 12
975   connect(12, {sa_family=AF_INET6, sin6_port=htons(53), inet_pton(AF_INET6, "fc00:0:0:128::1", &sin6_addr), sin6_flowinfo=htonl(0), sin6_scope_id=0}, 28) = 0
975   poll([{fd=12, events=POLLOUT}], 1, 0) = 1 ([{fd=12, revents=POLLOUT}])
975   sendto(12, "\34\316\1\0\0\1\0\0\0\0\0\0\furbackuptest\5tuxis\3net\0\0\1\0\1", 40, MSG_NOSIGNAL, NULL, 0) = 40
975   poll([{fd=12, events=POLLIN}], 1, 5000) = 1 ([{fd=12, revents=POLLIN}])
975   ioctl(12, FIONREAD, [95])         = 0
975   recvfrom(12, "\34\316\201\203\0\1\0\0\0\1\0\0\furbackuptest\5tuxis\3net\0\0\1\0\1\300\31\0\6\0\1\0\0\0\235\0+\7nsauth1\300\31\nhostmaster\300\31xX\37\263\0\0*0\0\0\16\20\0\t:\200\0\0\16\20", 1024, 0, {sa_f
amily=AF_INET6, sin6_port=htons(53), inet_pton(AF_INET6, "fc00:0:0:128::1", &sin6_addr), sin6_flowinfo=htonl(0), sin6_scope_id=0}, [28]) = 95
975   close(12)                         = 0
975   socket(AF_INET, SOCK_STREAM|SOCK_CLOEXEC, IPPROTO_IP) = 12
975   fcntl(12, F_GETFL)                = 0x2 (flags O_RDWR)
975   fcntl(12, F_SETFL, O_RDWR|O_NONBLOCK) = 0
975   connect(12, {sa_family=AF_INET, sin_port=htons(55415), sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EINPROGRESS (Operation now in progress)
975   poll([{fd=12, events=POLLOUT}], 1, 10000) = 1 ([{fd=12, revents=POLLOUT|POLLERR|POLLHUP}])
975   getsockopt(12, SOL_SOCKET, SO_ERROR, [ECONNREFUSED], [4]) = 0
975   close(12)                         = 0
975   stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2949, ...}) = 0
975   write(1, "2019-07-16 15:36:24: Socket has error: 111\n", 43) = 43
975   write(3, "2019-07-16 15:36:24: Socket has error: 111\n", 43) = 43
975   lseek(3, 0, SEEK_CUR)             = 17552
975   stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2949, ...}) = 0
975   write(1, "2019-07-16 15:36:24: Connecting failed.\n", 40) = 40
975   write(3, "2019-07-16 15:36:24: Connecting failed.\n", 40) = 40
975   lseek(3, 0, SEEK_CUR)             = 17592
975   futex(0x560c44592c70, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1563284484, tv_nsec=453738}, FUTEX_BITSET_MATCH_ANY <unfinished ...>