Giter Site home page Giter Site logo

Comments (1)

AmesCornish avatar AmesCornish commented on September 3, 2024 1

You're correct that the backups are more resilient because buttersink does occasional full backups, and tries to reduce the length of the chain of differences required to restore any particular snapshot.

The algorithm for this is heuristic. Buttersink uses some factors for the cost of transferring the data to S3, of storing the data in S3, and of the likelihood of failure based on the amount of data and number of files that could possible be corrupted. It then attempts to find the "differences" that create the most resilient backups for the least cost. Because it is a heuristic algorithm, the exact scheme differs based on the data and the current set of differences in S3. It would be hard to predict the results in advance.

You have probably notices that the differences are labeled with a "to...from" scheme, so you can see what differences are dependent on what other differences.

Though I have not used Glacier personally, I did think about it during the design of buttersink. My vision of how to use it would be to set up an AWS policy to rotate your S3 differences into Glacier. As long as you leave the ".bs" alone, buttersink should be able to continue backing-up your snapshots. When you restore, you may need to request that AWS transfer a file from glacier back to S3.

Another possibility would be to backup to two separate buckets -- one for normal S3 and another where you have Glacier configured. Then any restores from the plain S3 bucket would never need a transfer from Glacier.

As you can see, buttersink hasn't been tested with Glacier much, so if you try it, I'd be interested in your experiences with either of the two methods above.

In answer to your question about btrfs receive, yes, the files are pure btrfs send data, and so should work normally with btrfs receive. FYI, buttersink does some extra things to enable things like restoring from a combination of local snapshots and remote "send" backup data, which btrfs does not support.

Thanks!

from buttersink.

Related Issues (20)

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.