Skip to content

Backups #25

Description

@kkuepper

I had a look at the backups today.

Screen Shot 2022-10-24 at 2 29 23 PM

Google creates a backup of the PostgreSQL database every day and we keep 30 backups.

In addition Fider offers a pretty powerful mechanism to download all posts, comments, votes, uploaded screenshot ... in a convenient zip. Currently the zip is only 17MB and the content in there is fairly easy to read. I think it's handy to have that as another layer, in case we're not able to restore things on Google (e.g. account is deleted, Google messes up, ...). In such a case, some manual work would be required, but we could even use it to restore the data to a fider competitor.

I now setup a github action that runs every day and downloads the backup.zip into a github actions artifact. Those artifacts are kept for 90 days on github. We could also run the download script somewhere else, but I thought github is a convenient location. Though I'm not sure if we should restrict access to the artifacts more.

@rvanoord @adelinn What do you think?
P.S. Link to a run of the backup

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions