How To Install UrBackup Server on Ubuntu 20.04 LTS

On this tutorial we will learn how to install UrBackup, an Open Source client/server backup system on Ubuntu 20.04 LTS operating system.

Introduction

We need a backup software to perform a backup, to create supplementary exact copies of files, databases or entire computers. These programs may later use the supplementary copies to restore the original contents in the event of data loss. UrBackup is a free and oper source backup software which is widely used today. 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. On this tutorial we will learn how to install UrBackup Server application on Ubuntu 20.04 LTS operating system.

UrBackup Installation On Ubuntu 20.04 LTS

The UrBackup installation on Ubuntu Linux will be consist of several steps as mentioned below :

  • Adding UrBackup Repository
  • Updating System
  • Installing UrBackup Server Software
  • Accessing UrBackup Web

1. Adding UrBackup Repository

On this stage, we will add UrBackup repository to our Ubuntu packages system. The UrBackup will be using ppa:uroni/urbackup repository. Adding repository by using command line :

$ sudo add-apt-repository ppa:uroni/urbackup

Output :

mpik@app01:~$ sudo add-apt-repository ppa:uroni/urbackup
[sudo] password for mpik: 
 Efficient Client-Server Backup system for Linux and Windows. A client for Windows lets you backup open files and complete partition images. Backups are stored to disks in a efficient way (deduplication) on either Windows or Linux servers.
 More info: https://launchpad.net/~uroni/+archive/ubuntu/urbackup
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]                                                
Hit:3 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease
. . .
Get:22 http://us.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [10.4 kB]                       
Fetched 4,313 kB in 19s (227 kB/s)                                                                                        
Reading package lists... Done           

2. Updating System

By updating system repository, we will refresh our Ubuntu system to the latest package version, this task is performed by submitting command line :

$ sudo apt-get update

Output :

mpik@app01:~$ sudo apt-get update
Hit:1 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease                                                         
Hit:2 http://us.archive.ubuntu.com/ubuntu focal InRelease                                                                
Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease                                                         
Hit:5 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease                         
Hit:6 http://ppa.launchpad.net/uroni/urbackup/ubuntu focal InRelease                                
Get:7 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu focal InRelease [6,264 B]        
Hit:8 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease                                            
Hit:3 https://downloads.mariadb.com/Tools/ubuntu focal InRelease                                               
Hit:9 https://downloads.mariadb.com/MaxScale/6.1.1/apt focal InRelease
Fetched 6,264 B in 4s (1,665 B/s)
Reading package lists... Done

3. Installing UrBackup Server Software

After updating Ubuntu 20.04 system, now we will install the UrBackup server using its Official PPA repository by issuing the following commands in the terminal.

$ sudo apt-get install urbackup-server

Output :

mpik@app01:~$ sudo apt-get install urbackup-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libevent-core-2.1-7 libevent-pthreads-2.1-7 libmecab2 libzip5 mecab-ipadic mecab-ipadic-utf8 mecab-utils
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  attr augeas-lenses btrfs-progs cpu-checker cryptsetup-bin db-util db5.3-util debootstrap dmeventd exfat-fuse
  exfat-utils extlinux f2fs-tools finalrd hfsplus ibverbs-providers icoutils ipxe-qemu ipxe-qemu-256k-compat-efi-roms
  kpartx ldmtool libafflib0v5 libaugeas0 libcacard0 libconfig9 libcrypto++6 libdate-manip-perl libdevmapper-event1.02.1
  libewf2 libf2fs-format4 libf2fs5 libfdt1 libguestfs-hfsplus libguestfs-perl libguestfs-reiserfs libguestfs-tools
  libguestfs-xfs libguestfs0 libhfsp0 libhivex0 libibverbs1 libintl-perl libintl-xs-perl libiscsi7 libldm-1.0-0
  liblvm2cmd2.03 libnetpbm10 librados2 librbd1 librdmacm1 libslirp0 libspice-server1 libstring-shellquote-perl
  libsys-virt-perl libtsk13 libusbredirparser1 libvirglrenderer1 libvirt0 libwin-hivex-perl libxml-xpath-perl libyara3
  lsscsi lvm2 lzop mdadm msr-tools netpbm osinfo-db ovmf qemu-block-extra qemu-system-common qemu-system-data
  qemu-system-gui qemu-system-x86 qemu-utils reiserfsprogs scrub seabios sharutils sleuthkit sqlite3 supermin
  thin-provisioning-tools xfsprogs zerofree
Suggested packages:
  augeas-doc duperemove arch-test squid-deb-proxy-client libterm-readline-gnu-perl | libterm-readline-perl-perl
  augeas-tools libguestfs-gfs2 libguestfs-jfs libguestfs-nilfs libguestfs-rescue libguestfs-rsync libguestfs-zfs
  gstreamer1.0-plugins-ugly default-mta | mail-transport-agent dracut-core samba vde2 sharutils-doc bsd-mailx | mailx
  autopsy mac-robber sqlite3-doc xfsdump quota
Recommended packages:
  linux-image-amd64
The following NEW packages will be installed:
  attr augeas-lenses btrfs-progs cpu-checker cryptsetup-bin db-util db5.3-util debootstrap dmeventd exfat-fuse
  exfat-utils extlinux f2fs-tools finalrd hfsplus ibverbs-providers icoutils ipxe-qemu ipxe-qemu-256k-compat-efi-roms
  kpartx ldmtool libafflib0v5 libaugeas0 libcacard0 libconfig9 libcrypto++6 libdate-manip-perl libdevmapper-event1.02.1
  libewf2 libf2fs-format4 libf2fs5 libfdt1 libguestfs-hfsplus libguestfs-perl libguestfs-reiserfs libguestfs-tools
  libguestfs-xfs libguestfs0 libhfsp0 libhivex0 libibverbs1 libintl-perl libintl-xs-perl libiscsi7 libldm-1.0-0
  liblvm2cmd2.03 libnetpbm10 librados2 librbd1 librdmacm1 libslirp0 libspice-server1 libstring-shellquote-perl
  libsys-virt-perl libtsk13 libusbredirparser1 libvirglrenderer1 libvirt0 libwin-hivex-perl libxml-xpath-perl libyara3
  lsscsi lvm2 lzop mdadm msr-tools netpbm osinfo-db ovmf qemu-block-extra qemu-system-common qemu-system-data
  qemu-system-gui qemu-system-x86 qemu-utils reiserfsprogs scrub seabios sharutils sleuthkit sqlite3 supermin
  thin-provisioning-tools urbackup-server xfsprogs zerofree
0 upgraded, 86 newly installed, 0 to remove and 406 not upgraded.
Need to get 46.5 MB of archives.
After this operation, 217 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ppa.launchpad.net/uroni/urbackup/ubuntu focal/main amd64 urbackup-server amd64 2.4.13.0-1ubuntu1~focal [3,531 kB]

During the installation, we will be asked to provide the backup location as shown below :

Setting Backup Location on UrBackup
Setting Backup Location on UrBackup

After all are set, then we will start UrBackup service to be running on the system, for this purpose we will do the following command lines.

$ sudo systemctl start urbackupsrv
$ sudo systemctl enable urbackupsrv
$ sudo systemctl status urbackupsrv

Output :

mpik@app01:~$ sudo systemctl start urbackupsrv
[sudo] password for mpik: 
mpik@app01:~$ sudo systemctl enable urbackupsrv
urbackupsrv.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable urbackupsrv
mpik@app01:~$ sudo systemctl status urbackupsrv
● urbackupsrv.service - LSB: Server for doing backups
     Loaded: loaded (/etc/init.d/urbackupsrv; generated)
     Active: active (running) since Mon 2021-09-13 17:58:11 PDT; 1min 25s ago
       Docs: man:systemd-sysv-generator(8)
      Tasks: 17 (limit: 9436)
     Memory: 19.6M
     CGroup: /system.slice/urbackupsrv.service
             └─1196 /usr/bin/urbackupsrv run --config /etc/default/urbackupsrv --daemon --pidfile /var/run/>

Sep 13 17:58:11 app01.otodiginet.com systemd[1]: Starting LSB: Server for doing backups...
Sep 13 17:58:11 app01.otodiginet.com systemd[1]: Started LSB: Server for doing backups.

Until this step, UrBackup installation process has just done. Next step, we will configure UrBackup to make it run properly.

4. Accessing UrBackup Web Interface

By default UrBackup will use port 55414 for web interface. We will use web browser to access UrBackup web interface by typing url http://<ipaddress_server_or_server_hostname>:55414.

UrBackup Front End
UrBackup Front End Web Interface
UrBackup User Management
UrBackup User Management
UrBackup,media

Conclusion

The UrBackup installation on Ubuntu 20.04 LTS operating system has been done properly. I hope this article will be helpful.

Add a Comment

Your email address will not be published.