This snippet can be used to restore files from a Duplicity backup. In this case I will be restoring files from the rclone
backend which in turn is configured with Dropbox.
sudo duplicity restore \
--path-to-restore /path/to/restore \
rclone://Dropbox:/Duplicity \
/destination/path/to/restore/to
To restore the files to a certain date, use the -t
option. As an example, to restore to the backup or nearest backup from 30 days ago:
sudo duplicity restore \
-t 30D \
--path-to-restore /path/to/restore \
rclone://Dropbox:/Duplicity \
/destination/path/to/restore/to