---
title: "Comment by Vlad Tkachenko on \"Creating Supabase Backups with GitHub workflows\" | Hashnode"
description: "Still the clearest write-up of this pattern. Two things worth adding for anyone copying it today, both visible in the workflow itself. The job installs postgres"
url: "https://hashnode.com/posts/creating-supabase-backups-with-github-workflows/641f516b612365f8a836b766/comment/6af76537d09eda31a3359c51"
---

[Discussion](https://hashnode.com/posts/creating-supabase-backups-with-github-workflows/641f516b612365f8a836b766)

Comment [Creating Supabase Backups with GitHub workflows](https://hashnode.com/posts/creating-supabase-backups-with-github-workflows/641f516b612365f8a836b766)

[Vlad Tkachenko](https://hashnode.com/@vladtkdev)

[Nov 13](https://hashnode.com/posts/creating-supabase-backups-with-github-workflows/641f516b612365f8a836b766/comment/6af76537d09eda31a3359c51)

Still the clearest write-up of this pattern. Two things worth adding for anyone copying it today, both visible in the workflow itself.

The job installs postgresql-15, and pg\_dump refuses to run against a server whose major version is newer than the client. It aborts on a version mismatch rather than producing a short file, which at least fails loudly, but it fails on a day you changed nothing. Read the major off the dashboard and install the matching client.

The exclude list drops the storage schema, so storage.objects is not in the dump. That is the right call for a database backup and it catches people out at restore time: the rows describing every upload are gone, and the files themselves were never in a database dump to begin with. Worth a line in the README of whoever adopts this, because the failure shows up as an app full of broken images rather than as an error.

One more thing about where the file lands. The action commits the dump into the repository, so a public repo publishes every row, and even on a private one the repo carries every daily copy forever.

We ended up packaging this as an Action with those bits handled, and wrote up what the differences cost: [reeve.page/blog/supabase-backup-github-action](https://reeve.page/blog/supabase-backup-github-action)
