Page MenuHomePhabricator

[etcd,infra] Find a backup solution for the etcd database
Open, HighPublic

Description

Now that we start having more and more data stored in etcd, like envvars, builds, jobs and such, we might want to look into doing some kind of backup for the etcd database.

Docs on how to do a backup:

Some options mentioned on irc:

  • File backup with https://restic.net/ to a different server
    • Supports s3, so we might move to object storage when it's available
  • File backup with a new bacula setup in Toolforge
  • Manual scripts file backup to a different server
  • VM image snapshot to bacula (from the hypervisor)
    • Might need some syncing with the process that does the db dump

Add more if you have more ideas!

Event Timeline

dcaro triaged this task as High priority.
dcaro added a project: Toolforge.

What if we backup the data to a cinder volume. I know etcd servers run in local storage hypervisors, but I'm not sure if that means they cannot use cinder?

If so, we could just:

  • mount a volume via puppet
  • have a timer to generate the snapshot and place it in the cinder volume
dcaro renamed this task from [etcd] Find a backup solution for the etcd database to [etcd,infra] Find a backup solution for the etcd database.Mar 18 2024, 11:01 AM
Aklapper subscribed.

@dcaro Removing task assignee as this open task has been assigned for more than two years - See the email sent to task assignee on 2025-11-25.
Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome! :)
If this task has been resolved in the meantime, or should not be worked on by anybody ("declined"), please update its task status via "Add Action… 🡒 Change Status".
Also see https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator. Thanks!