GithubHelp home page GithubHelp logo

python-backup-controller's Introduction

python-backup-controller

The next generation of a backup script.

Intending to go one step further, from the old, well known daily cron task which just calls some tar -czvf $(date).tar.gz data_folder/. A more detailed list of goals can be found here: goals.md.

Motivation

Having regularly seen some df output like this:

.. and having lived through the experience of hastily trying to recover the system into a stable state, I want to improve it. I have identified two major concerns which I believe are at the root of this:

  • Too big backups
  • Improper warnings/notifications

Regarding the first, I want to implement differential backups (backuping each file change which has changed since the last complete backup). Changed are noticed on changed MD5 checksums of the files. Why MD5? Because I like it from personal expierience.

Regarding the second, before each backup, we will try to guess the size of the next backup, based on previous backups. If the guess is bigger than the available storage capacity. No backup will be made. And a severe warning will be send out. Also after each backup there will be made an estimation for the next differential and the next complete backup, if either of those would not be possible with the remaining space, similarly a warning will be send out too.

python-backup-controller's People

Contributors

quimoniz avatar

Watchers

 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.