Title: Load a dump into a declared MariaDB database, with a check and a receipt · Issue #594 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Load a dump into a declared MariaDB database, with a check and a receipt · Issue #594 · cloudfall-dev/cloudfall
X Title: Load a dump into a declared MariaDB database, with a check and a receipt · Issue #594 · cloudfall-dev/cloudfall
Description: Filed by Claude Code on @romamo's word in chat, 2026-11-21. One of the gaps found while planning the move of the Akinia site of #591 onto a Cloudfall host. Read against main at ba8a470. Problem There is no declared way to load a dump int...
Open Graph Description: Filed by Claude Code on @romamo's word in chat, 2026-11-21. One of the gaps found while planning the move of the Akinia site of #591 onto a Cloudfall host. Read against main at ba8a470. Problem The...
X Description: Filed by Claude Code on @romamo's word in chat, 2026-11-21. One of the gaps found while planning the move of the Akinia site of #591 onto a Cloudfall host. Read against main at ba8a470. Problem...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/594
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Load a dump into a declared MariaDB database, with a check and a receipt","articleBody":"Filed by Claude Code on `@romamo`'s word in chat, 2026-11-21. One of the gaps found while planning the move of the Akinia site of #591 onto a Cloudfall host. Read against `main` at `ba8a470`.\n\n## Problem\n\nThere is no declared way to load a dump into a database of a MariaDB `Service`.\n\n- `cloudfall data copy` refuses anything but PostgreSQL (`cloudfall_data_migration` asserts `serviceKind == \"postgresql\"`)\n- The MariaDB guide's way in from a server Cloudfall does not manage is a replica of an outside source by GTID. It needs the binary log on at the source, which is a restart of the source when it is off\n- The restore drill loads the newest dump into a scratch database to prove it restores. Nothing loads a dump into the declared database itself\n\nSo a small database that arrives as a dump file, and a declared database that has to be brought back from its own backup, are both a hand-typed `mariadb \u003c` as root, with no check and no receipt.\n\n## Who it is for\n\nThe first case is Akinia: two databases, 3.4 GB together, on a MariaDB 10.4.12 server with the binary log off (`log_bin` 0, `binlog_format` MIXED, read 2026-11-21) that also serves other sites. Its owner chose a dump and a restore in a short window over a replica (2026-11-21): switching the binary log on means restarting an end-of-life server on worn disks, and the outside-source path was never run against a 10.4 source (#482, which is to prove it against 10.11 and 11.x, is open).\n\nThe acceptance of that move is a rebuild from the off-host dump copy alone, so the load has to be repeatable and provable.\n\n## Proposal\n\nFor the spec to decide; what the case needs:\n\n- A command that loads a named dump file into a declared, empty database of a MariaDB `Service`, as part of the operations record\n- It refuses a database that already has tables unless told to replace it\n- Afterwards it compares what the drill compares (the table list and the row counts recorded beside the dump, when they exist) and writes a receipt\n- Definers, character sets and `sql_mode` differences between the source's version and the service's are reported, not silently accepted\n- The declared owners keep their grants; accounts in the dump are not created\n\n## Alternatives\n\n`mariadb \u003c` by hand. A replica of the source where the source can be restarted.\n\n\u003c!-- shipmill:agent -->","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-21T16:12:42Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/594"}
| 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:16783d23-729b-6a2d-c296-4d5022f8c129 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C612:103C51:C11DA5:10772AE:6B0549D1 |
| html-safe-nonce | 0edc51b8d32bea5bbc7d528021e01f72353060a7cc057c2c24d0410a17d16aaa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjEyOjEwM0M1MTpDMTFEQTU6MTA3NzJBRTo2QjA1NDlEMSIsInZpc2l0b3JfaWQiOiI1NzAyNjQ0MzM2NTkzMDI5NTg2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 366d9fa6c56a6d1b3d4e501894ee6671fd52ea1ba5f9e06d1c89ce292f601fb9 |
| hovercard-subject-tag | issue:6531245163 |
| 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/594/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9cc66a3e5967159111d9fbfbf5fd1a84bedcef0cde416cce9924e77d1ddd2373/cloudfall-dev/cloudfall/issues/594 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9cc66a3e5967159111d9fbfbf5fd1a84bedcef0cde416cce9924e77d1ddd2373/cloudfall-dev/cloudfall/issues/594 |
| og:image:alt | Filed by Claude Code on @romamo's word in chat, 2026-11-21. One of the gaps found while planning the move of the Akinia site of #591 onto a Cloudfall host. Read against main at ba8a470. Problem The... |
| 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