cloudfoundry-attic / etcd-release

Apache License 2.0
3 stars 17 forks source link

Protips/tools for backup/restore #6

Closed drnic closed 8 years ago

drnic commented 8 years ago

Document any protips/tools/suggestions for backup/restore of etcd cluster. I think in the past we haven't cared about etcd as its only contained cached state for hm9000; perhaps as a general release it'd be helpful to document/enable this?

cf-gitbot commented 8 years ago

We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/108156224.

drnic commented 8 years ago

Offering --wal-dir to enable WAL might be a starting point; from reading https://github.com/coreos/etcd/blob/master/Documentation/admin_guide.md

drnic commented 8 years ago

https://coreos.com/etcd/docs/latest/admin_guide.html#restoring-a-backup

Amit-PivotalLabs commented 8 years ago

Hey @drnic

This will likely require a fair bit of research, and we have a ways to go before we feel what we currently have has sufficiently robust testing. This is an important thing to have on the roadmap for a data product like etcd, so thank you for bringing attention to this and the useful links. In the near term, there is nothing actionable we can provide you. Rather than having long-running inactive open issues, I will close this one, but I have repurposed the tracker story linked above by @cf-gitbot to serve as a placeholder for figuring out a proper backup and restore feature set.