donat-b / ansible-restic Goto Github PK
View Code? Open in Web Editor NEWDeploy restic backup program
Home Page: https://galaxy.ansible.com/donat-b/restic/
License: BSD 2-Clause "Simplified" License
Deploy restic backup program
Home Page: https://galaxy.ansible.com/donat-b/restic/
License: BSD 2-Clause "Simplified" License
Right now this role is tied to AWS S3 backend since it only allows to use AWS_*
environment variables.
Would be nice to be able to use at least another backend, like B2 for instance:
https://restic.readthedocs.io/en/latest/030_preparing_a_new_repo.html#backblaze-b2
The only place that I see that we use those authentication environment variables is in the cron job. Probably we could infere the backend in some way form the repository name/URL?
Hello there!
What is the current status of this ansible role?
The last commit was just a few days ago. And also the restic version used is not quite the same as the current Release.
How does it look like? Is it still maintained here?
Please add a LICENSE file. Saying "BSD" in readme doesn't help since there are two BSD licenses (2-clause) and (3-clause).
github has a good and simple guide of adding license file: https://help.github.com/articles/adding-a-license-to-a-repository/
We should leverage checksums provided with the release binaries to make sure we received valid data.
Using RESTIC_PASSWORD
instead of RESTIC_PASSWORD_FILE
in cronfile in /etc/cron.d
can simplify this role. This way there is no need to create /var/lib/restic
directory and password files. Providing that cronfile has limited file permissions, which it should since it already holds some sensitive data.
I did a major rework of this role in my fork. Changes include:
If you want we could merge it somehow, or not ๐
@donat-b I can start adding CI pipeline based on travis ci to run molecule tests before accepting PRs. However I need some answers first:
This would also need you to link your github account with travis (travis ci account creation) and configuring repository in travis (I can help with some screenshots).
Also since you are using molecule 2.x it will probably take me some time to set up proper CI pipeline with docker containers.
This role lack repository initialization, which is kind of crucial in new production systems.
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.