If you’re an admin and are looking for something that will help retain critical information on your *nix system, look no further than Duplicity. Duplicity uses librsync, so the backup sets are space efficient when configured in incremental format. Full backups are also performed as required.
Since it’s usually best to run with the latest version of Duplicity, you’re best to install it from source. Installing Duplicity on CentOS 7 from source is a straightforward process, if you follow the steps outlined below.
- Update yum
yum update -y
- Install EPEL repo
yum install https://mirrors.kernel.org/fedora-epel/7/x86_64/e/epel-release-7-5.noarch.rpm
- Install the required development tools
yum groupinstall “Development Tools”
- Install the required python tools
yum install python-devel librsync-devel librsync python-setuptools python-lockfile python-boto wget
Fetch the Duplicity sourcewget https://code.launchpad.net/duplicity/0.6-series/0.6.26/+download/duplicity-0.6.26.tar.gz
- Extract the source
tar xvf duplicity-0.6.26.tar.gz
- Move to the extracted folder
- Build the source
python setup.py build
- Install Duplicity
python setup.py install
That’s it! This post won’t go into the usage of Duplicity (maybe another post if people request it…), but you should at least read the man page to know the options and arguments.
Relax and enjoy – you’re now backed up!