GithubHelp home page GithubHelp logo

iamthemovie / legacy Goto Github PK

View Code? Open in Web Editor NEW
52.0 52.0 4.0 158 KB

Legacy is a light weight Cassandra backup utility suitable for backing up snapshots and incremental backups to Amazon S3.

Go 100.00%

legacy's People

Contributors

iamthemovie avatar msakrejda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

legacy's Issues

Change the storage paths in S3 to make it easier to manage whole snapshots.

Currently legacy stores it's paths in S3 to mimic the file system:

/{s3-bucket}/{node-hostname}/{data-directory}/{keyspace}/{table}/{snapshot}/...

From a management perspective this makes it much harder to clear up an entire snapshot in S3 without the help of legacy (a feature which does not exist yet).

Change the storage path to:
/{s3-bucket}/{node-hostname}/{data-directory}/{snapshot}/{keyspace}/{table}/...

a) Manual restores would be much easier.
b) Manual cleanups would be much easier.
c) Compile a size of the entire path would be easier (not that it would be difficult to aggregate some directories together but it's still more work).
d) We could very easily store legacy meta-data within each snapshot / per node.

There are many other benefits to this too.

Renaming the Cassandra host causes a new snapshot to me made.

Because we store the table snapshot meta by hostname (this file contains a reference to the initial snapshot name), if you rename the node and re-run legacy it will resnapshot the cluster and upload the entire node again.

Potentially we can use the UUID rather than the hostname to prevent this.

Whether or not this is an issue or not it's something that could present an issue to some users.

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.