URBACKUP CENTOS 7 HOW TO INSTALL
Centos 7 x64bit urbackup-server-2.0.36
Requirements:
yum install autoconf automake binutils bison flex gcc gcc-c++ gettext libtool make patch pkgconfig redhat-rpm-config rpm-build rpm-sign
yum install zlib-devel.x86_64 zlib.x86_64 libcurl-devel.x86_64 cryptopp-devel.x86_64
wget “https://hndl.urbackup.org/Server/2.0.36/urbackup-server-2.0.36.tar.gz”
tar -zxvf urbackup-server-2.0.36.tar.gz
cd urbackup-server-2.0.36/
./configure
make
make install
systemctl disable firewalld && service firewalld stop
To start
/usr/local/sbin/urbackupsrv run
Browser to and configure a Password
http://:55414/
Set to Startup on boot:
ln -s /usr/local/sbin/urbackupsrv /usr/bin/urbackupsrv
cp urbackup-server.service /etc/systemd/system/
chmod +x /etc/systemd/system/urbackup-server.service
systemctl enable urbackup-server.service
cp defaults_server /etc/default/urbackupsrv
cp logrotate_urbackupsrv /etc/logrotate.d/urbackupsrv
systemctl start urbackup-server
Make sure its running:
netstat -ntlp |grep urba
APPENDIX
1) Add a new btrfs disk
Setup a btrfs Disk for Extra Dedupe

fdisk -l
fdisk /dev/xvdb
n,p,1, w
yum install btrfs-progs -y
modprobe btrfs
pvcreate /dev/xvdb1
vgcreate DATA_BKP_VG /dev/xvdb1
lvcreate -L +G -n DATA_BKP_01_LV DATA_BKP_VG
pvs
vgs
mkfs.btrfs /dev/DATA_BKP_VG/DATA_BKP_01_LV
mkdir /data_backup/
mount /dev/DATA_BKP_VG/DATA_BKP_01_LV /data_backup/
lsblk –fs /dev/xvdb1
vi /etc/fstab
UUID= /data_backup btrfs defaults 0 0
df -h
btrfs device stats /data_backup/
btrfs filesystem df /data_backup/
btrfs filesystem show –mounted
btrfs filesystem sync /data_backup/
btrfs filesystem defragment -v -r /data_backup/
2) Usefull Commands:
/usr/local/sbin/urbackupsrv reset-admin-pw
Reset web interface administrator password
/usr/local/sbin/urbackupsrv verify-hashes
Verify file backup hashes
/usr/local/sbin/urbackupsrv remove-unknown
Remove unknown files and directories from backup storage and fix symbolic links in backup storage
Disable Unecessary Service
List Service:
systemctl -t service |grep running
systemctl mask wpa_supplicant
ln -s /dev/null /etc/systemd/system/wpa_supplicant.service]]>

Tags: , , , , , ,

1 thought on “URBACKUP CENTOS 7 HOW TO INSTALL

  1. Great article.
    Just a quick note. Crypto++ requires installation of the EPEL repository.
    If it is not installed, crypto++ will not install and configure will fail.

Leave a Reply

Your email address will not be published. Required fields are marked *