Title: Spec 026: Off host backup copies by shipmill-romamo[bot] · Pull Request #589 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Spec 026: Off host backup copies by shipmill-romamo[bot] · Pull Request #589 · cloudfall-dev/cloudfall
X Title: Spec 026: Off host backup copies by shipmill-romamo[bot] · Pull Request #589 · cloudfall-dev/cloudfall
Description: Spec for #225
The off-host copy of service backups (#225), written to a target a person sets up by hand (a Hetzner Storage Box sub-account), with encryption chosen per service, plus OnFailure= alerts on every backup and restore-check unit and an audit check on the copy's age.
Plan
Serves: G-3, G-2
Files: docs/specs/026-off-host-backup-copies.md
Order: this spec merges first; its build issues are filed under #225 after the merge
Proof: specs.py check passes; the build's tests name S-026-1 to S-026-9
Decisions for you
A new kind, BackupTarget, one per login (sub-account). Recommended: a separate kind, so two services of one tenant share a target and two tenants on one box are two targets with two keys; a server holding one tenant's key can't read another's copies. The alternative, the SFTP details inline in each Service.spec.backup, repeats the host key and secret in every service
encryption is required, with none as an explicit value. Recommended: a plaintext copy is then a choice written in the config, never a forgotten field; this follows "encryption is optional per data set" from your answer on #225. The alternative, encryption optional and absent meaning plaintext, is shorter but makes an unencrypted tenant copy silent
age public keys on the server, the identity off it. Recommended: a compromised server can write copies but never read old ones. Cost: restoring from an encrypted copy needs the identity, so restore from off-host is left to a later spec (Out of scope)
Remote retention is its own offHost.retentionDays, pruned only inside
Open Graph Description: Spec for #225 The off-host copy of service backups (#225), written to a target a person sets up by hand (a Hetzner Storage Box sub-account), with encryption chosen per service, plus OnFailure= aler...
X Description: Spec for #225 The off-host copy of service backups (#225), written to a target a person sets up by hand (a Hetzner Storage Box sub-account), with encryption chosen per service, plus OnFailure= aler...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/pull/589
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c32282fa-31ab-adab-96ff-44545d30ee98 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C902:6FCC9:FCAEED:15B275A:6B055E43 |
| html-safe-nonce | 342ce2ded1f3edde58c1800b5de310ea167144ac0bea745adc4d445f621df120 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTAyOjZGQ0M5OkZDQUVFRDoxNUIyNzVBOjZCMDU1RTQzIiwidmlzaXRvcl9pZCI6IjUwMzk5Nzc4Mzk2OTc2ODE5ODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 95b9aea62deb18c7fd8cadce0db150862b2a4a56bcd19654c589bb23c60ee4e5 |
| hovercard-subject-tag | pull_request:5428116250 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/cloudfall-dev/cloudfall/pull/589/files |
| twitter:image | https://avatars.githubusercontent.com/u/5600783?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5600783?s=400&v=4 |
| og:image:alt | Spec for #225 The off-host copy of service backups (#225), written to a target a person sets up by hand (a Hetzner Storage Box sub-account), with encryption chosen per service, plus OnFailure= aler... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8a6760da3cce5e2d079d07e3b62df71194316c4478db1a5e38050f44fce72c72 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8327739ac0648b9c3c722b5f401f7338553936b8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width