Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a Backup Advisor view #26

Open
dmitrizagidulin opened this issue Nov 25, 2015 · 0 comments
Open

Implement a Backup Advisor view #26

dmitrizagidulin opened this issue Nov 25, 2015 · 0 comments

Comments

@dmitrizagidulin
Copy link
Contributor

Our current best-practice recommendations for backing up a Riak cluster is to do either:

  1. Rolling node backups (stop a node, zip/rsync the settings and data directories, and restart). Or,
  2. Use MDC Replication to sync to a backup cluster.

However, in both cases (especially in the second one, setting up a second cluster to MDC into), users miss some important metadata (such as - making sure that the search indexes and schemas are the same in the new cluster, all bucket types are the same, all custom buckets, etc).
To help guard against this (and to make good devops practices easier):

Implement a Backup Advisor page which would display a Bash script to backup and restore the following items:

  1. Re-creating Search Schemas
  2. Re-creating Search Indexes
  3. Re-creating and activating all user defined Bucket Types (along with their properties -- CRDT data types, search indexes, custom quorum values, commit hooks, etc).
  4. Re-creating all Custom Bucket properties (requires implementing issue Implement List of Buckets with custom (non-default) properties API endpoint riak_explorer#92)
  5. Re-creating all Riak Authz relevant items (Groups, Users, Permissions). (will need support from Explorer API)
  6. Re-creating all relevant MDC Replication CLI commands. (will need support from Explorer API)
  7. Listing all the individual directories that should be backed up (data directories, /etc dir, the /basho-patches dir, the Search data dir). (will need support from Explorer API)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant