Hello,
I'm really interested in using Duplicity to replace my current homegrown backup system (based on full-file synchronization to S3 for important things and rsnapshot local backups for less-important). I was really happy to learn that Duplicity is written in Python, as that's my go-to language.
I was hoping that since Duplicity is written in Python, I could avoid the overhead of my current custom backup wrapper (for rsnapshot) that has to build command lines, run via subprocess, and then parse the output to get the statistics I care about (number and size of changed files, transfer time, etc.). However, even though I found a few Duplicity wrappers or front-ends written in Python, they all seem to execute duplicity via subprocess.
I was wondering if anyone has experience driving Duplicity natively via a Python wrapper by making the proper function calls (and then... I suppose patching some parts, since it seems like the status output/statistics isn't surfaced in a consumable way)? Is this something that's worth it for me to try, or will the mostly function-based design prohibit it?
Thanks,
Jason Antman