UrBackup: Client-Server Backup With Image and File Modes

UrBackup: Client-Server Backup With Image and File Modes

UrBackup is the backup system to reach for when you are backing up other machines rather than one server.

The client-server model

A server holds the storage and schedules; agents on each client push backups to it. The server has a web interface showing every client’s status and last successful backup.

That inverts the usual self-hosted pattern. restic, Borg and Kopia are tools a machine runs to back itself up, which is right for servers and awkward for a dozen laptops that are sometimes off. Our restic versus borg comparison covers that family.

For “back up the household’s computers and tell me if one stops”, UrBackup is a better fit than scripting Borg on each.

File and image backups

File backups with deduplication, so unchanged files are hard-linked rather than copied again.

Image backups of whole disks on Windows clients, which is what makes bare-metal restore possible. On Linux clients, file-level is the usual mode.

That dual mode is unusual. Most self-hosted backup tools do one or the other.

Clients

Windows, Linux and macOS agents. In practice the Windows support is the most complete, including volume shadow copies and image backup, which is a reasonable reason to deploy it in a mixed household or office.

Operational notes

A C++ server with its own storage layout on a normal filesystem, so the backup store is browsable rather than an opaque repository. That is a real advantage for restores and a disadvantage for storage efficiency compared with a chunked format.

Deduplication relies on hard links, which means the backup storage must be a filesystem that supports them properly. Our symlinks versus hard links guide covers the mechanism and our NTFS and exFAT guide covers why an exFAT drive is the wrong destination.

Operational caution

Test a restore. This applies to every backup system and more here, because the image restore path involves boot media you will not have practised with. Our backups guide makes the general point and our Clonezilla entry covers the adjacent approach.

The server holds everyone’s data and the web interface can restore it, so the access control on that interface is the access control on every file in the house.

License

UrBackup is released under the GNU Affero General Public License v3.