duplicati/Tools/Commandline/ReEncrypt
2024-02-28 15:45:30 +01:00
..
config.txt uses config file and corrects the zip archive creation 2018-02-22 22:03:37 +01:00
Readme Made python script run in parallel 2018-03-08 17:55:34 +01:00
ReEncrypt.py Updated all license mentions to MIT 2024-02-28 15:45:30 +01:00

A Python script to change the encryption from Duplicati. You can go from aes to gpg or vice versa. It is also possible to remove encryption. 

Usage:
0) Take a backup of your data.

1) Confirm that your Duplicati data is on disk in .zip or .zip.aes or .zip.gpg format..

2) Install Python 3 if it is not already installed. pyAesCrypt, gnupg and joblib packages need to be installed in python as well.

3) Prepare a config file (see example config.txt). 

3) Run ReEncrypt.py -c config.txt.

4) Update your backup settings to the changed encryption settings. 

5) Take a backup of your database and do a delete & recreate. Don't forget to delete, a simple "repair" may delete the whole backup!