GithubHelp home page GithubHelp logo

markhorsfield / qb.backup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from quarkslab/qb.backup

0.0 1.0 0.0 22 KB

The server-side script of the qb.backup orchestration solution.

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%

qb.backup's Introduction

qb.backup

qb.backup is a server side script that orchestrates backups of Linux hosts.

This script has been designed to run in a FreeBSD 11.3 jail on a FreeNAS 11.2-U7 server, which comes with Python 3.7. Python 3.7 and above are supported, and Python 3.6 is supported as best effort.

Backuped hosts must be configured according to the Ansible role qb.backup.

This script and the FreeBSD Jail can be setup using the Ansible role qb.backup_server.

You can see an example playbook implementing those various roles here: ansible-playbook-qb.backup.

You can find here a video of our talk at FOSDEM'20 presenting how qb.backup works.

Getting started

Requirements:

  • python >= 3.6
$ pip install .
$ python3 main.py run --help
$ python3 main.py run --conf /path/to/config.yml

Tests

$ pip install parameterized coverage black
$ black --check --diff --target-version=py36 lib tests main.py
$ coverage run --source=qb.backup,main -m unittest discover -vb -s tests -t .
$ coverage report -m

qb.backup's People

Contributors

atripier avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.