Installing URBackup on CentOS 7
scottalanmiller last edited by scottalanmiller
URBackup is a free, open source agent-based backup system that can easily be installed on a number of operating systems, including many flavours of Linux. As CentOS 7 is my "go to" Linux distribution, I am building the URBackup server there.
First I will clone my base CentOS 7 image:
Once doing this, we can do a basic and very simple install:
cd /etc/yum.repos.d/ yum -y install wget wget http://download.opensuse.org/repositories/home:uroni/CentOS_7/home:uroni.repo yum -y install urbackup-server
That's it. We have added the official URBackup Repo for CentOS 7 as hosted by the openSuse project so that our package will be self maintaining on our system, and installed URBackup from the repo. Nice and simple. We had to add the wget command for convenience in case it is not installed on your system (it is not by default.)
Now we need to start the service and enable it to start on its own automatically:
systemctl start urbackup-server systemctl enable urbackup-server
Now we should be up and running just fine, but we will need to open the firewall port in order to be able to access the web interface from another machine. In this example we are going to open it wide up, this is not generally recommended, but given as this is just testing, it is fine.
firewall-cmd --zone=public --add-port=55414/tcp --permanent firewall-cmd --reload
That's it, if all is well we can now navigate to our URBackup system from a web browser on our LAN.
Now as you can see, the default storage location is inaccessible. For some reason, the default setting is for Windows. This is a quick setup.
mkdir /data chown urbackup:urbackup /data
Then go into the Settings tab and set /data as the backup location.
More configuration details to follow. Of course, if you were building this for production, you would add additional storage space to hold the backups.