pnw-social / mastodon-devops

K8s stuff for administrating mastadon
0 stars 0 forks source link

Improve Backups #3

Open cgrinker opened 6 years ago

cgrinker commented 6 years ago

Currently all backups are manual. Each container (redis/postgresql/webapp) all mount their internal storage as ephemeral docker storage, as well as backup folders on the nfs share.

Moving the backups to something at least usable is three steps. These need to be completed before an unnamed political action committee on this floor of the herald building plugs in more space heaters

1) Write scripts which backup the respective folders and install them as cron scripts in the running containers 2) Build new containers which restore the backups on startup. 3) Rolling update the containers in the deployment