Giter VIP home page Giter VIP logo

yoink's People

Contributors

vy-let avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

yoink's Issues

Add support for unprivileged backups

Not all backups need to preserve owner and group. We'll want to have an option to turn off those options, thus not requiring sudo on either side.

Add support for prioritizing backups into sets

Some backup areas need to run more frequently than others. For instance, you may want to pull an hourly database backup, but only pull large media backups once a day.

On the server side, we could add a priority flag on each hook and backup target, to separate them out into regular, high-priority, and low-priority buckets. A command-line switch would be passed up to the server so that it could select the proper sets.

  • If run without a priority flag, all high-priority and default-priority targets should back up.
  • If run with --high-priority, only high-priority targets should back up.
  • If run with --low-priority, all targets should back up.

The task runner on the client system would be responsible for setting which flag at the appropriate times.

Add support for incremental backup revisions

Rsync has built-in support for backing up old copies of changed and deleted files as they come down the wire. I didn't add those flags in initially because my backup-to destination itself is backed-up incrementally to a time machine disk. So I wouldn't really be the target audience for such a feature, but I imagine it would be quite useful.

Add support for multiple requesting parties

If multiple requesting parties (those running yoink.rb) want to back up from the same servers, they may trivially do so; however, they may be prone to trampling on each other with their pre and post hooks.

We need to add a lockfile for the duration of each backup so that requesting parties may queue themselves, perhaps by poll-retrying at a random interval.

Add parallel backups

At the very least, backups from separate hosts can run in parallel, since they necessarily operate on disjoint sets of files. We need to have a config on the client specifying how many hosts to run at the same time.

As a separate issue, we may want to investigate the possibility of multiple parallel transfer sources per-host. Since we don't explicitly tie the side-effects of before-hooks to specific transfer areas, we'll want to make sure that no transfers start before pre-hooks are done, and that post-hooks don't start until all transfers are done.

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.