2017-04-13 13:07:35 -07:00
|
|
|
|
|
|
|
|
RestoreFromPython
|
|
|
|
|
by Ben Fisher, https://github.com/downpoured
|
|
|
|
|
a Python script to restore files from Duplicati
|
|
|
|
|
similar to Duplicati.RecoveryTool, but with no dependencies on Mono/.NET
|
|
|
|
|
uses streaming apis to restore a large number of files and use limited RAM.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Usage:
|
|
|
|
|
1) Confirm that your Duplicati data is on disk in .zip or .zip.aes format.
|
2023-12-12 00:35:01 +01:00
|
|
|
if data uses GPG/other encryption than AES, decrypt files to .zip before running this tool.
|
2017-04-13 13:07:35 -07:00
|
|
|
|
|
|
|
|
2) Install Python 3 if it is not already installed.
|
2023-12-12 00:35:01 +01:00
|
|
|
pip -m pip install pycryptodome ipython
|
|
|
|
|
optionally you can install aescrypt that will allow to cache the decrypted files
|
|
|
|
|
(at cost of higher disk space)
|
2017-04-13 13:07:35 -07:00
|
|
|
|
|
|
|
|
3) Run restore_from_python.py,
|
|
|
|
|
it will interactively ask for the necessary information.
|
2023-12-12 00:35:01 +01:00
|
|
|
there is support for passing the necessary parameters in command line, use --help
|
|
|
|
|
Tentative support for attributes restoration on Linux (needs sudo)
|
2017-04-13 13:07:35 -07:00
|
|
|
|
|
|
|
|
Other notes:
|
|
|
|
|
It's possible that an updated version of this script can be located in the repo at
|
|
|
|
|
https://github.com/downpoured/duplicati
|