mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-18 16:12:11 +00:00
fix(recovery): the database dumps count in the keys the backups still need
The recovery kit, "Keys the backups still need" and safeToDropRetiredKeys read only the stored copies and the off-host account objects. After a rotation the page called the old key safe to drop while every dump taken before it, the pre-migration dumps that are the way back from an update among them, could only be restored with that key: db-restore refuses a dump whose active key is missing. A dump now counts for the key its rows were written under, the manifest's active key: a dump on this server while it is kept (read from the manifests), an off-host one until the bucket's rule for database/ expires it, or indefinitely when that rule cannot be read. The nightly run records the key on its ledger row (migration 0489, database_backup_runs.active_key_id). The encryption view and the kit list the dumps per key, in every locale, and the rotation and backup runbooks say so.
This commit is contained in:
1 parent
40c310f0ad
commit
26a9efdf52
24 files changed
+422
-45
No files matched your search
+8
-2
@@ -8418,7 +8418,10 @@
|
||||
"columnsHide": "Nascondi la tabella",
|
||||
"columnsShowAll": "Mostra tutte le {count} colonne",
|
||||
"columnsShowWithRows": "Solo colonne con righe",
|
||||
"columnsNoneWithRows": "Nessuna colonna cifrata contiene ancora righe."
|
||||
"columnsNoneWithRows": "Nessuna colonna cifrata contiene ancora righe.",
|
||||
"backupsDumpLocalLine": "Chiave {key}: {count} dump del database su questo server sono stati scritti con essa; serve finché la conservazione non li rimuove.",
|
||||
"backupsDumpOffhostLine": "Chiave {key}: il dump del database più recente scritto con essa è entrato nel bucket il {when}; serve lì fino al {until}",
|
||||
"backupsDumpOffhostLineUnknown": "Chiave {key}: il dump del database più recente scritto con essa è entrato nel bucket il {when}. Non si sa per quanto il bucket conservi database/, quindi conserva la chiave finché non sai che quel dump non c'è più."
|
||||
},
|
||||
"maintenance": {
|
||||
"title": "Manutenzione della tabella delle misurazioni",
|
||||
@@ -8604,7 +8607,10 @@
|
||||
"offhostUnknown": "Serve alle copie fuori host finché il bucket le conserva.",
|
||||
"backupActive": "Sigilla ogni nuova copia fuori host.",
|
||||
"backupPrevious": "Apre le copie fuori host scritte prima dell'ultimo cambio di chiave.",
|
||||
"token": "Firma sessioni, token e link di condivisione. Senza di essa tutti vengono disconnessi, ma nessun dato va perso."
|
||||
"token": "Firma sessioni, token e link di condivisione. Senza di essa tutti vengono disconnessi, ma nessun dato va perso.",
|
||||
"localDumps": "Serve a {count} dump del database su questo server.",
|
||||
"offhostDumpsUntil": "Serve ai dump del database fuori host fino al {date}.",
|
||||
"offhostDumpsUnknown": "Serve ai dump del database fuori host finché il bucket li conserva."
|
||||
},
|
||||
"source": "Impostata in {variable}.",
|
||||
"status": {
|
||||
|
||||
Reference in new issue
Block a user