Installing Duplicati on CentOS 7 – After some research I needed something to backup my project VM. Virtualmin backup to an SFTP just doesn’t cut it for me! I decided to have a look around and came across some software called Duplicati, which is free, and allows you to backup to multiple sources such as Google Drive (this is the one I’ll be using).

Looking at Duplicati it can backup to FTP, SSH, WebDAV as well as popular services like Backblaze B2, Microsoft OneDrive, Amazon Cloud Drive & S3, Google Drive, box.com, Mega, hubiC and many others.

It also encrypts the backup using AES-256 encryptionAES-256 encryption. However, if that isn’t enough you can also use GPG encryption.

Installation

Well… It’s actually pretty simple. Run each command in the order below and you’ll get there.

yum install yum-utils

rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"

yum-config-manager --add-repo http://download.mono-project.com/repo/centos7/

yum install mono-devel

yum install epel-release

yum install libappindicator

Ensure you update the link for this with the latest one from the Duplicati Download Section. I’ve used the latest link at the time of publishing this, but bound to be updates!

curl -O https://updates.duplicati.com/beta/duplicati-2.0.4.5-2.0.4.5_beta_20181128.noarch.rpm

yum install duplicati*

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

firewall-cmd --reload

echo "[Unit]
Description=Duplicati Backup software
[Service]
ExecStart=/usr/bin/mono /usr/lib/duplicati/Duplicati.Server.exe --webservice-interface=any
Restart=on-failure
RestartSec=30
[Install]
WantedBy=multi-user.target" > /etc/systemd/system/duplicati.service

systemctl enable duplicati

systemctl start duplicati#

Installing Duplicati on CentOS 7

Access The Web UI

Once you’re finished go to http://IP-address:8200 and setup/configure the backups using the Web UI. It’s easy to do, but just in case I’ll be doing another blog post on it anyway.

You’re done! Enjoy the free backup solution.

Comment away if you get stuck!

Leave a Reply