Duplicity is a great tool for encrypted, bandwidth-efficient backups. Here’s how to set it up on Ubuntu with Azure Blob Storage as the backup destination.

Installation

Install Duplicity and the Azure backend dependencies on Ubuntu:

sudo apt-get install duplicity python-pip
pip install azure-storage-blob

Running a full backup

Once installed, run a full backup to your Azure container:

duplicity full /source/dir azure://containername

For incremental backups (the default behavior), just omit the full keyword:

duplicity /source/dir azure://containername

Duplicity will automatically detect the last full backup and create an incremental chain.

Further reading

The full documentation covers encryption, scheduling, and advanced restore options: