Title: data copy can't migrate a Supabase database · Issue #82 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: data copy can't migrate a Supabase database · Issue #82 · cloudfall-dev/cloudfall
X Title: data copy can't migrate a Supabase database · Issue #82 · cloudfall-dev/cloudfall
Description: Found while writing a Supabase migration guide for the site. cloudfall data copy runs pg_dump --no-owner --no-privileges --format custom over the whole source database and pg_restore into the declared one (engine/ansible/roles/cloudfall_...
Open Graph Description: Found while writing a Supabase migration guide for the site. cloudfall data copy runs pg_dump --no-owner --no-privileges --format custom over the whole source database and pg_restore into the decla...
X Description: Found while writing a Supabase migration guide for the site. cloudfall data copy runs pg_dump --no-owner --no-privileges --format custom over the whole source database and pg_restore into the decla...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/82
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"data copy can't migrate a Supabase database","articleBody":"Found while writing a Supabase migration guide for the site.\n\n`cloudfall data copy` runs `pg_dump --no-owner --no-privileges --format custom` over the whole source database and `pg_restore` into the declared one (`engine/ansible/roles/cloudfall_data_migration/tasks/main.yml`). A typical Supabase database would not restore on a stock Debian PostgreSQL:\n\n- **Platform schemas:** `auth`, `storage`, `realtime`, `graphql`, `vault`, `supabase_functions` and others come along with `public`\n- **Extensions not packaged for Debian:** `pg_graphql`, `pgsodium`, `supabase_vault`, `pg_net` among them\n- **Row-level security policies** written `TO anon` or `TO authenticated`, roles that do not exist on the target; `--no-privileges` skips grants, not policies\n- **References into `auth`:** functions and policies in `public` that call `auth.uid()` or reference `auth.users`\n\nThe row-count check only covers schema `public`, so it would not show what was left behind either.\n\n**Expected:** a way to migrate the application's own schemas from Supabase, with the platform schemas and extensions left out (or handled), and the guide saying plainly that Supabase Auth, Storage and Realtime stay with Supabase or need replacing.\n\n**Where it shows:** the site rotates \"Move off Render\" and \"Move off Neon\"; Supabase is left out until this works.\n\nDepends on cloudfall-dev/cloudfall#124\nDepends on cloudfall-dev/cloudfall#125\nDepends on cloudfall-dev/cloudfall#126","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-10-16T09:51:21Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/82"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b2b5972e-7fe1-3ed8-f289-f13a7e5bef52 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B85E:1873F7:DF3AD8:131D825:6B0554C9 |
| html-safe-nonce | e98419e7377e2a2c850343ca77bb2450c591c88bf6b79c7bba0de375334a0400 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODVFOjE4NzNGNzpERjNBRDg6MTMxRDgyNTo2QjA1NTRDOSIsInZpc2l0b3JfaWQiOiIyMTI1MjU1MTY2ODE0MTQ3Nzg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 738c5fba99db5597ac5dda0d6e7d46d0544dc23d0805a36c82b7cc224f1f52fc |
| hovercard-subject-tag | issue:5882042694 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cloudfall-dev/cloudfall/82/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d6c542e4d4cd4779076c1c3ec9f25b29969500a232a70c67a69c3200e36200d5/cloudfall-dev/cloudfall/issues/82 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d6c542e4d4cd4779076c1c3ec9f25b29969500a232a70c67a69c3200e36200d5/cloudfall-dev/cloudfall/issues/82 |
| og:image:alt | Found while writing a Supabase migration guide for the site. cloudfall data copy runs pg_dump --no-owner --no-privileges --format custom over the whole source database and pg_restore into the decla... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shipmill-romamo[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | 854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b |
| turbo-cache-control | no-preview |
| go-import | github.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git |
| octolytics-dimension-user_id | 339512759 |
| octolytics-dimension-user_login | cloudfall-dev |
| octolytics-dimension-repository_id | 1360999777 |
| octolytics-dimension-repository_nwo | cloudfall-dev/cloudfall |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1360999777 |
| octolytics-dimension-repository_network_root_nwo | cloudfall-dev/cloudfall |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 220e980097d94ce616d5d11fbd5316d208e3fc93 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width