Title: Backups stay on the server they protect, a failed run raises no alert, and the restore drill passes on an empty restore · Issue #225 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Backups stay on the server they protect, a failed run raises no alert, and the restore drill passes on an empty restore · Issue #225 · cloudfall-dev/cloudfall
X Title: Backups stay on the server they protect, a failed run raises no alert, and the restore drill passes on an empty restore · Issue #225 · cloudfall-dev/cloudfall
Description: Problem The PostgreSQL backup (roles/cloudfall_postgresql/templates/backup.sh.j2) and the Redis one write to a directory on the server they back up, and stop there. No copy leaves the host, so a lost disk or a lost server loses the data ...
Open Graph Description: Problem The PostgreSQL backup (roles/cloudfall_postgresql/templates/backup.sh.j2) and the Redis one write to a directory on the server they back up, and stop there. No copy leaves the host, so a lo...
X Description: Problem The PostgreSQL backup (roles/cloudfall_postgresql/templates/backup.sh.j2) and the Redis one write to a directory on the server they back up, and stop there. No copy leaves the host, so a lo...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/225
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Backups stay on the server they protect, a failed run raises no alert, and the restore drill passes on an empty restore","articleBody":"## Problem\n\nThe PostgreSQL backup (`roles/cloudfall_postgresql/templates/backup.sh.j2`) and the Redis one write to a directory on the server they back up, and stop there.\n\n- No copy leaves the host, so a lost disk or a lost server loses the data and its backups together\n- A failed timer run is visible only in the journal: the units set no `OnFailure=` and no bundled alert rule watches backup age\n- `pg_dump` per database captures no roles or other globals, so a restore onto a fresh server needs them rebuilt by hand\n- The restore drill (`restore-check.sh.j2`) counts rows of `pg_class`, which is non-zero for an empty database, so it passes on a dump that restored nothing. Its scratch database name, `\u003cname>_restore_check`, is dropped without checking that no declared database has that name\n\n## Proposal\n\n- `Service.spec.backup` gains an off-host target (an SFTP or S3-compatible location, credentials by secret reference), with client-side encryption, and the backup receipt names where the copy went and its digest\n- A bundled alert rule on backup age, and `OnFailure=` on the backup and drill units\n- Dump globals beside the databases\n- The drill compares something the source can also report (table count and row counts of the largest tables, as the data-copy verification already does) and refuses a scratch name that collides with a declared database\n","author":{"url":"https://github.com/romamo","@type":"Person","name":"romamo"},"datePublished":"2026-11-13T08:19:34Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/225"}
| 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:5f200315-4e82-49de-ff71-131586eaf05d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF68:2528FA:277C2F2:33E7CFC:6B05596B |
| html-safe-nonce | 84fdb0d8fb188e7b6a87c932786b5972f3ef84c3afd4d6492d3766890a9d550d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjY4OjI1MjhGQToyNzdDMkYyOjMzRTdDRkM6NkIwNTU5NkIiLCJ2aXNpdG9yX2lkIjoiNDQ0NjQ5OTgxMjc4NzE4MTkzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7d467e6207b40941596b04f365e88f1ea2f8434d0d5c77df9e8dd73b1b483c51 |
| hovercard-subject-tag | issue:6367605773 |
| 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/225/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ec925ca9cbaa196f7b6d3778ddf4c1060d571c3d9593addfb2e8cffa5dbce51b/cloudfall-dev/cloudfall/issues/225 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ec925ca9cbaa196f7b6d3778ddf4c1060d571c3d9593addfb2e8cffa5dbce51b/cloudfall-dev/cloudfall/issues/225 |
| og:image:alt | Problem The PostgreSQL backup (roles/cloudfall_postgresql/templates/backup.sh.j2) and the Redis one write to a directory on the server they back up, and stop there. No copy leaves the host, so a lo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | romamo |
| hostname | github.com |
| expected-hostname | github.com |
| None | a79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080 |
| 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 | 10dff83edfd4f3617a7792a152d44991587b434c |
| 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