To install duplicity
in Debian or Ubuntu, you can use the following steps:
- Update the package list:
sudo apt update
- Install the
duplicity
package:
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-boto
package:
sudo apt install python3-boto
- 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.