Table of Contents

Urbackup Server And Client

General Information

Installing and configuring Urbackup server and client.

“UrBackup is an easy to setup Open Source client/server backup system, that through a combination of image and file backups accomplishes both data safety and a fast restoration time.”

Official Site: https://www.urbackup.org/

Documentation: https://www.urbackup.org/administration_manual.html

Checklist


Server Install

Installing the Urbackup Server

Install a Web Proxy Frontend

Installing a Nginx web proxy frontend.

Server Firewall Rules

Port Protocol In/Out Description
55413 tcp Incoming FastCG for web interface (needed if no web proxy)
55414 tcp Incoming HTTP web interface (needed if no web proxy)
55415 tcp Incoming Internet clients connect for backups
35623 udp Outgoing Broadcast for client discovery
35623 tcp Incoming Broadcast for client discovery (maybe needed?)
443 tcp Incoming HTTPS Web Proxy (if used)
80 tcp Incoming HTTP Web Proxy (if used)


Optional - Needed if not using web proxy

firewall-cmd --add-port=55413/tcp --permanent
firewall-cmd --add-port=55414/tcp --permanent


Optional - Support client backups over the internet

firewall-cmd --add-port=55415/tcp --permanent


Web proxy http and https

firewall-cmd --add-service=http --permanent
firewall-cmd --add-service=https --permanent


Needed? - Incoming client discovery

firewall-cmd --add-port=35622/udp --permanent


Reload and list rules

firewall-cmd --reload
firewall-cmd --list-all

Client Install

Installing the Urbackup client.

Client Firewall Rules

Port Protocol In/Out Description
35621 tcp Incoming Transfers during file backups
35622 udp Incoming Broadcasts for discovery
35623 tcp Incoming Server commands and image backups


Client firewall ports

firewall-cmd --add-port=35621/tcp --permanent
firewall-cmd --add-port=35622/udp --permanent
firewall-cmd --add-port=35623/tcp --permanent


Reload and list rules

firewall-cmd --reload
firewall-cmd --list-all

Client Uninstall


Urbackup Administration

Administrative tasks for Urbackup server and clients.

Official administrative documentation: https://www.urbackup.org/administration_manual.html

Server Management Console

Web console

Server Admin Password

The first time you navigate to the web console, all admin settings are accessible to the world.

To set an admin user and password:

Server Config

Some initial server config changes to make.


Login to the web console and navigate to “Settings”.









Server CLI

Various CLI commands on the Urbackup server.

Cleanup Commands


Client Config

Client side configuration options.

Snapshot Configs

Client side snapshot config can be changed after installation if desired


Client CLI

Some commands can be executed on the client side. All of these commands can also be executed via the Urbackup server web console.

Urbackup client control


Note: Some of these commands (such as browse and restore) require root privileges to work.




Mirroring the Backups

The backup location on the server can be rsync'ed to another location to create a backup of the backups.

This is useful if you were to attach removable storage to the server, run the rsync of the latest backups, and take the removable storage offsite.

Due to urbackup's space saving methods, rsync'ing the most current backup with the correct rsync options will provide the most accurate mirror.

Example