cluster-api-control-plane-provider-talos icon indicating copy to clipboard operation
cluster-api-control-plane-provider-talos copied to clipboard

Auto Etcd Snapshot/Backup

Open mxzinke opened this issue 2 years ago • 9 comments

Maybe it could be useful, to have a backup Mechanism for time interval X. The snapshot could be pushed to some s3 or a persistent volume.

Explicitly, when having just one control plane, the chances are high, that etcd data get lost.

mxzinke avatar Feb 21 '23 19:02 mxzinke

See https://github.com/siderolabs/talos-backup#backup-service

smira avatar Feb 22 '23 10:02 smira

https://github.com/siderolabs/talos-backup#backup-service

Is this a private repo? Because I have no access / page not found...

mxzinke avatar Feb 22 '23 12:02 mxzinke

It shouldn't be, let me check

smira avatar Feb 22 '23 13:02 smira

Also interested in this service,

but currently we just use a k8s cronjob, which executes talosctl etcd snapshot together with Talos k8s Serviceaccounts, which works too.

Preisschild avatar Feb 23 '23 16:02 Preisschild

I don't see any reason this shouldn't be open. But we just want to make sure there's nothing sensitive in the repo, since it was originally just a proof of concept, so let me take a closer look. Soon!

rsmitty avatar Feb 23 '23 18:02 rsmitty

Did you get around to finding out if the referenced repository could be made available, @rsmitty? I'm sure that it would be greatly appreciated by the community.

wwentland avatar Apr 13 '23 18:04 wwentland

@wwentland thx for the reminder. I've added a ticket to track this internally. Will get it cleaned up and published later this week/early next.

rsmitty avatar Apr 13 '23 19:04 rsmitty

Hey @wwentland and everyone else, sorry for the delay, but the talos-backup repo is now open. You can find it here: https://github.com/siderolabs/talos-backup

rsmitty avatar May 09 '23 15:05 rsmitty

That's fantastic, thank you @rsmitty!

wwentland avatar May 10 '23 10:05 wwentland