This article covers how to install Duplicity on your Linux system. After doing that, you will be able to maintain the backups of your critical data and hence prevent data loss. Moreover, you can also easily remove this backup software tool from your Linux system.
If you are a system administrator and responsible for managing servers than backing up data is one of the most important tasks of you.
So you must have enough knowledge of backup tools that makes your task easier.
Duplicity is a free, open-source and an advanced command-line backup utility built on top of librsync and GnuPG. It produces digitally signed, versioned and encrypted tar volumes for storage on a local or remote computer.
Duplicity supports many protocols for connecting to a file server including, ssh/scp, rsync, ftp, DropBox, Amazon S3, Google Docs, Google Drive, local filesystem, OneDrive, WebDAV and many more.
To install and configure Duplicity to perform manually and automate backup on Ubuntu 20.04 server:
1. You can update all of them with the following command:
$ apt-get update -y
2. After updating all packages, you will also need to install some required dependencies on your server. You can install all of them by running the following command:
$ apt-get install ncftp python3-paramiko python-pycryptopp lftp python3-boto python3-dev librsync-dev -y
3. By default, Duplicity is available in the Ubuntu 20.04 default repository. You can install it by just running the following command:
$ apt-get install duplicity -y
4. Once installed, verify the installed version of Duplicity with the following command:
$ duplicity --version