Giter VIP home page Giter VIP logo

docker-duplicati-reencrypt's Introduction

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) Ensure you have a backup of your data. Download your backups, for instance using rclone for cloud drive access.

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

  2. Prepare a config file in /config, see example in config/config-sample.txt.

    Note that hash-verification does NOT abort or print in an easy detectable way. To use it meaningfully pipe output to log-file and grep logfile cat out.log | grep "exact:" | grep -v "exact: True"

  3. Run './ReEncrypt -c config/config.txt | tee -a out.log' or './ReEncrypt -h' or './ReEncrypt -c config/config.txt --DELETE-ORIGINAL' - but don't use --DELETE-ORIGINAL unless you have tested it works and can accept the risk of losing backups.

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

  5. The old database of the backup cannot be used, we must rebuild from the new reencrypted backup. Take a backup of your duplicati database and do a delete & recreate. Don't forget to delete, a simple "repair" may delete the whole backup!

See https://github.com/duplicati/duplicati/wiki/Re-encrypt-remote-back-end-files

See https://github.com/duplicati/duplicati/tree/master/Tools/Commandline/ReEncrypt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.