sephiroth1395 / restic-pybm Goto Github PK
View Code? Open in Web Editor NEWA Python 3 wrapper to manage and monitor backups with restic
License: MIT License
A Python 3 wrapper to manage and monitor backups with restic
License: MIT License
Once this plugin reaches a usable state, restic-PyBM should natively be able to use it to record new repositories and request on-the-fly secrets for existing ones.
I created a library that might complement your script:
https://github.com/mtlynch/resticpy
It's a thin wrapper over the restic binary, so it handles all the interactions with restic so that you never have to call subprocess.run
Here's a rough version of how it looks porting this repo to resticpy:
https://github.com/sephiroth1395/restic-PyBM/compare/main...mtlynch:resticpy?expand=1
It's not an exact match for your current functionality because resticpy returns results as dictionaries (using the --json
flag to restic) but restic-PyBM is designed around plaintext stdout results.
If you're interested in switching over, I'd be happy to help.
Especially on output messages generation. So much copy paste, it's horrendous.
This is particularly needed for the check action, especially when running from a centralised monitoring server.
To avoid locking up a repo if an invocation is stopped mid-course for whatever reason.
Implement capabilities to duplicate a repository A to repository B.
This needs to be thought through, since as the restic documentation points out, chunking may be an issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.