Debian / Ubuntu: Install Duplicity For Encrypted Backup In Cloud

To install duplicity in Debian or Ubuntu, you can use the following steps:

  1. Update the package list:
sudo apt update
  1. Install the duplicity package:
sudo apt install duplicity
  1. To make backups to the cloud, you’ll need to install the required cloud storage service package. For example, to backup to Amazon S3, install the python3-boto package:
sudo apt install python3-boto
  1. Once the installation is complete, you can start using duplicity for your backups. Here’s an example of how to backup your local /home directory to Amazon S3:
duplicity /home s3://your-bucket-name

You can specify the backup encryption settings, schedule and other options using duplicity command options.

Leave a Comment