How to backup and restore (over time) for etcd?

I understand that etcd saves its data in some sort of distributed log.

Are there any tools to backup and restore these logs? Does this also support recovery at a particular point in time (and how far back we can go)?

Extra points: do these logs also contain audit trails (i.e. who updated the data, assuming that client authentication is in place)?

+4
source share
1 answer

One approach is to read all existing keys in a file, then use this file by reading and adding all keys for recovery. There is an open source solution that uses this approach here https://github.com/fanhattan/etcd-backup . I do not think audit trails are included.

0
source

Source: https://habr.com/ru/post/1541200/


All Articles