Debian / Ubuntu: Install Duplicity For Encrypted Backup In Cloud
To install duplicity in Debian or Ubuntu, you can use the following steps:
- Update the package list:
sudo apt update- Install the
duplicitypackage:
sudo apt install duplicity- 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-botopackage:
sudo apt install python3-boto- Once the installation is complete, you can start using
duplicityfor your backups. Here's an example of how to backup your local/homedirectory to Amazon S3:
duplicity /home s3://your-bucket-nameYou can specify the backup encryption settings, schedule and other options using duplicity command options.
