thomasleister / lxd-backup Goto Github PK
View Code? Open in Web Editor NEWA Python script to back up ZFS based LXD containers via Restic
License: MIT License
A Python script to back up ZFS based LXD containers via Restic
License: MIT License
Repo index should be rewritten from time to time, but not everytime a backup is triggered.
Maybe some sort of cronjob can be implemented to add the "--prune" option to "restic forget" once a week or something like that.
Great script and I like how it is backing up the real files. The thing I'm missing in your docs is how you restore an instance when there is a full machine failure or just want to go back a version.
Do you restore from restic to a directory, tar that directory and then use lxc import image to create a new image for it which you can use to build a new instance?
Thanks.
Make tool backup-tool agnostic? ๐ค
Make prune options configurable via JSON / YAML config file?
That would help with future updates of the script, e.g. via Git and avoid merge conflicts etc.
Use this library to control Restic: https://mtlynch.github.io/resticpy/
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.