soabase / exhibitor

ZooKeeper co-process for instance monitoring, backup/recovery, cleanup and visualization.
https://groups.google.com/forum/#!topic/exhibitor-users/PVkcd88mk8c
Apache License 2.0
1.68k stars 443 forks source link

Restore from S3 backup #343

Open ltagliamonte opened 7 years ago

ltagliamonte commented 7 years ago

Sorry if I'm reposting but I didn't find a response yet on how to restore from a backup on S3. I have a 3 zk nodes ensemble I'm using S3 config and S3 backup. I read that exhibitor builds a Lucene index of the transactions and allows you to search for a specific transaction and replay it and this works great when using the UI I click on New-index, the index gets generated and I can reply the transactions (the index does seem generated only when I use the UI not automatically by default is it normal?). What about the files I see uploaded in my s3 bucket? How I restore them if the whole cluster gets deleted?

xiaochuanyu commented 7 years ago

Backups are periodically done according settings in Config tab: image I don't think we currently support restoring transactions without using Exhibitor. Although I think its possible for you may to parse the S3 files and write to Zookeeper yourself (PRs welcome!).

meadowlark-bradsher commented 6 years ago

Hello. Why does Exhibitor explicitly provide storing backups to S3 if it does not have any feature to use these file to restore from those back-ups? I am curious about what the developer using Exhibitor was expected to do with the S3 backups they created via Exhibitor?