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.
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-184.108.40.206-220.127.116.11_beta_20181128.noarch.rpm
yum install duplicati*
firewall-cmd --add-port=8200/tcp --permanent
Description=Duplicati Backup software
ExecStart=/usr/bin/mono /usr/lib/duplicati/Duplicati.Server.exe --webservice-interface=any
WantedBy=multi-user.target" > /etc/systemd/system/duplicati.service
systemctl enable duplicati
systemctl start duplicati#
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!