siderolabs / cluster-api-control-plane-provider-talos

A control plane provider for CAPI + Talos
Mozilla Public License 2.0
56 stars 19 forks source link

Auto Etcd Snapshot/Backup #152

Open mxzinke opened 1 year ago

mxzinke commented 1 year ago

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.

smira commented 1 year ago

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

mxzinke commented 1 year ago

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

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

smira commented 1 year ago

It shouldn't be, let me check

Preisschild commented 1 year ago

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.

rsmitty commented 1 year ago

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!

wwentland commented 1 year ago

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.

rsmitty commented 1 year ago

@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 commented 1 year ago

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

wwentland commented 1 year ago

That's fantastic, thank you @rsmitty!