[{"data":1,"prerenderedAt":28},["ShallowReactive",2],{"$f0YcEw38X9Atvg9cOGkvutT3MF-6LFR_dbShJx_cMs_U":3},{"slug":4,"title":5,"description":6,"date":7,"tags":8,"draft":12,"readingMinutes":13,"html":14,"related":15},"supabase-backups","Supabase Backups: What Each Plan Keeps, and What It Skips","Supabase backups checked November 2026: none on Free, 7 days on Pro, PITR from $100 a month, what a restore leaves out, and the db dump I'd run anyway.","2026-11-11",[9,10,11],"supabase","postgres","backups",false,4,"\u003Cp>Supabase backups depend entirely on your plan. The Free plan has none at all. Pro keeps a daily backup for 7 days, Team for 14, Enterprise up to 30. Point-in-time recovery is a paid add-on on any paid plan, starting at about $100 a month for 7 days of history. And on every plan, the backup is the database only: files in Storage are not in it.\u003C/p>\n\u003Cp>That&#39;s the short version, checked against the \u003Ca href=\"https://supabase.com/docs/guides/platform/backups\">Supabase backups docs\u003C/a> and the \u003Ca href=\"https://supabase.com/pricing\">pricing page\u003C/a> on November 11, 2026. The rest is what those lines mean when you actually need a restore, which is always at a bad moment.\u003C/p>\n\u003Ch2>Free: you are the backup\u003C/h2>\n\u003Cp>The pricing table says &quot;Not included&quot; for both automatic backups and PITR on Free. The docs tell free projects to export their own data regularly with the CLI and keep copies off-site. Free projects also pause after a week without activity.\u003C/p>\n\u003Cp>I&#39;m fine with that for side projects. What I&#39;m not fine with is a product with real users on the Free plan, which happens more than you&#39;d think, because the bill is $0 and nothing breaks until the day someone runs the wrong migration. If anyone pays you, the $25 Pro plan is the cheapest insurance in your stack.\u003C/p>\n\u003Ch2>Pro and Team: daily, and a day can be a long time\u003C/h2>\n\u003Cp>On Pro you get the last 7 daily backups, on Team the last 14. Restoring one rolls the whole database back to that snapshot. The project is down while it restores, longer for bigger databases, and everything written since the snapshot is gone.\u003C/p>\n\u003Cp>So the question to ask is how much one day of writes is worth. A bad \u003Ccode>UPDATE\u003C/code> without a \u003Ccode>WHERE\u003C/code> at 6 pm, last backup at 3 am: fifteen hours of signups, orders and edits, gone, unless you can rebuild them from somewhere else (Stripe, logs, emails). For a lot of apps that&#39;s survivable. For a booking or payments app it usually isn&#39;t.\u003C/p>\n\u003Cimg src=\"/blog/supabase-backups/restore-window.webp\" alt=\"Timeline of one bad day on Supabase: Free has nothing to restore, a Pro daily backup rewinds 15 hours to 3 am, PITR rewinds to one second before 6 pm\" width=\"1600\" height=\"900\" loading=\"lazy\">\u003Ch2>PITR: what $100 a month buys\u003C/h2>\n\u003Cp>Point-in-time recovery keeps the write-ahead log, so you can restore to a chosen second instead of last night. Supabase prices it by retention: 7 days at $0.137 an hour (about $100 a month), 14 days at about $200, 28 days at about $400. It works on every compute size. WAL files are backed up every two minutes by default, so the worst case is losing about two minutes.\u003C/p>\n\u003Cp>Two things in the docs that people miss:\u003C/p>\n\u003Cp>Turning PITR on stops the daily backups. You don&#39;t get both.\u003C/p>\n\u003Cp>A PITR restore replaces the current database. If you only need to recover one table, don&#39;t restore the live project. Restore to a new project (Supabase calls it duplicating the project), copy the rows you need back, and keep the live data.\u003C/p>\n\u003Cp>Supabase&#39;s own production checklist suggests PITR once the database passes 4 GB. My rule is simpler: once losing a day of writes would cost you more than $100, turn it on. Before that, a daily backup plus your own dump is usually enough.\u003C/p>\n\u003Ch2>What no Supabase backup includes\u003C/h2>\n\u003Cp>\u003Cstrong>Storage objects.\u003C/strong> The backup holds the metadata rows, not the files. Restore an old backup and the database may point at images that were deleted since, and nothing brings them back. If uploads are the product (documents, invoices, user photos), copy the bucket somewhere else on a schedule. Any S3-compatible tool works against Supabase Storage&#39;s S3 endpoint.\u003C/p>\n\u003Cp>\u003Cstrong>Passwords for custom roles.\u003C/strong> After restoring a daily backup you have to set them again. If a reporting tool or a worker connects with its own role, it will fail right after the restore, which is a confusing time to discover it.\u003C/p>\n\u003Cp>\u003Cstrong>Your own off-site copy.\u003C/strong> Deleting a project deletes its backups with it, and the docs call that irreversible. Backups that live inside the thing they&#39;re protecting are only half a plan.\u003C/p>\n\u003Ch2>The dump I would run anyway\u003C/h2>\n\u003Cp>Even on Pro with PITR, I&#39;d keep a logical dump outside Supabase. The \u003Ca href=\"https://supabase.com/docs/reference/cli/supabase-db-dump\">db dump reference\u003C/a> has the details. The catch is that a plain \u003Ccode>supabase db dump\u003C/code> contains no data and no custom roles; it&#39;s the schema only, and it leaves out Supabase-managed schemas like \u003Ccode>auth\u003C/code> and \u003Ccode>storage\u003C/code>. The \u003Ca href=\"https://supabase.com/docs/guides/platform/migrating-within-supabase/backup-restore\">backup and restore guide\u003C/a> uses three files:\u003C/p>\n\u003Cpre>\u003Ccode class=\"language-bash\">supabase db dump --remote=$DB_URL -f roles.sql --role-only\nsupabase db dump --remote=$DB_URL -f schema.sql\nsupabase db dump --remote=$DB_URL -f data.sql --use-copy --data-only \\\n  -x &quot;storage.buckets_vectors&quot; -x &quot;storage.vector_indexes&quot;\n\u003C/code>\u003C/pre>\n\u003Cp>That&#39;s CLI 3.x syntax. \u003Ccode>--linked\u003C/code> and \u003Ccode>--db-url\u003C/code> still work in v3 but are deprecated and go away in v4, so old cron scripts will start failing on an upgrade. Use the direct connection string, or the session pooler if your server has no IPv6.\u003C/p>\n\u003Cp>Run it nightly from a machine that isn&#39;t Supabase (a small VPS, a GitHub Action with the connection string in secrets), push the files to a bucket at another provider, and keep 30 days. It costs almost nothing.\u003C/p>\n\u003Cp>Then test a restore once. Spin up a scratch project, run the \u003Ccode>psql\u003C/code> restore from the same guide, and see what breaks. Edge Functions, database webhooks, Realtime publications and non-default extensions don&#39;t come along and have to be set up again, and Vault secrets need the old project&#39;s root key, which you can only fetch while that project is still active. Better to learn that on a quiet Tuesday.\u003C/p>\n\u003Cp>If your Supabase bill is part of the problem rather than the backups, I wrote up \u003Ca href=\"/blog/supabase-pricing\">Supabase pricing\u003C/a> line by line, and \u003Ca href=\"https://slashcloudbill.com\">slashcloudbill\u003C/a> does a free audit of the whole cloud bill.\u003C/p>\n",[16,20,24],{"slug":17,"title":18,"description":19},"supabase-cron","Supabase Cron: Scheduled Jobs, and the Green Tick That Lies","Supabase Cron checked against the docs: cron.schedule syntax, seconds schedules, calling an Edge Function with pg_net, run history cleanup, and the success status that means less than it says.",{"slug":21,"title":22,"description":23},"supabase-cli","Supabase CLI: Migrations, Types and the Docker Catch","The Supabase CLI in late 2026: how to install it, why local dev needs a container runtime, and the migration commands that keep production in sync.",{"slug":25,"title":26,"description":27},"supabase-realtime","Supabase Realtime: What It Costs and Where It Breaks","Supabase Realtime in late 2026: how messages are counted and billed, the per-plan limits, the errors you hit first, and when to switch from Postgres Changes to Broadcast.",1795910047891]