ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Installing URBackup on CentOS 7

    IT Discussion
    scale scale hc3 linux centos centos 7 urbackup backup
    1
    1
    14.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      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:

      0_1478570222788_Screenshot from 2016-11-07 19-42-33.png

      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.

      0_1478571751976_Screenshot from 2016-11-07 21-18-39.png

      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.

      0_1478572962589_Screenshot from 2016-11-07 21-38-15.png

      More configuration details to follow. Of course, if you were building this for production, you would add additional storage space to hold the backups.

      1 Reply Last reply Reply Quote 10
      • 1 / 1
      • First post
        Last post