
tech.backup-restore-drill·versija 1.0.0·melnraksts1 jāpārbauda
Nejauši izvēlēts dublējums tiek atjaunots atsevišķā vidē, salīdzināts ar avotu, un atjaunošanas laiks tiek reģistrēts.
Quarterly, or after any change to the backup system itself (new storage target, new tool, new key holder). Not during an actual outage — under pressure you restore production, not run a drill; that is tech.website-down / agents.incident-response. Not for checking that a backup job ran — that is a daily watch, part of tech.security-audit.
Jebkurš solis var gaidīt līdz datumam un atveras pats; katrs noslēgts solis atstāj pierādījumu (piezīmi, saiti, skaitli).
Choose one system from the inventory — rotate so a different one is drilled each quarter; prefer one that has never been restored. Note the newest backup and its timestamp.
Izdarīts, kad the target, the backup file/job id and its timestamp are written in the drill log.
Apstiprinājums · S2 · īpašnieks — izpilde apstājas, līdz nosaukts cilvēks ieraksta lēmumu
One paragraph: what will be restored, into where, what will be checked, who is on call if something breaks.
Izdarīts, kad the owner has approved the named target and place.
Restore the chosen backup into the scratch environment. Nothing points at production; no live hostname, no live database connection.
Izdarīts, kad the restored copy starts or opens, and no connection string in it points at production.
⛔ A restore that reuses live credentials or a live hostname can overwrite or corrupt production — rename everything before first start.
Compare against the source: file counts and total size, database row counts on the main tables, checksums on a sample, open one real document end to end. Check the data age — is it the backup you think it is?
Izdarīts, kad each check has a recorded number from both sides, and "pass" or the exact mismatch.
Record how long the restore took and how old the data was. Note anything that made it slower or harder: a key that had to be hunted for, a credential that had expired, a missing instruction.
Izdarīts, kad restore time and data age are in the log, with every obstacle listed.
Apstiprinājums · S6 · īpašnieks — izpilde apstājas, līdz nosaukts cilvēks ieraksta lēmumu
Present pass/fail, the numbers, the obstacles. The owner accepts the drill or assigns fixes with owners and dates.
Izdarīts, kad the decision is recorded — accepted, or each gap has an owner and a due date.
Write the drill log entry; add fix tasks where decided; set the next drill date a quarter out; tear down the restored copy (or keep it, if the owner wants it kept).
Izdarīts, kad the log entry exists, tasks are created, the next date is in the calendar, and the scratch environment is cleaned or marked.
| Pazīme | Rīcība |
|---|---|
| Backup is corrupt or will not restore | Stop, do not "fix" it in place; check when the job last truly succeeded, re-run the job, re-drill the new backup within the quarter. |
| Key or credential missing/expired | This is a finding, not a detour — record it, get the key holder named in S2 to supply it, add a key-holder check to the next drill. |
| Restore is far slower than any stated target | Record the bottleneck (transfer, size, manual steps); the fix is an owner-assigned task from S6, not a note. |
| Restored copy connects to production | Isolate immediately (network off), assess whether anything was written, record it as a failed drill, fix isolation before any retry. |
| Backup job has been failing silently | Add the backup job status to a recurring watch; re-drill after two consecutive good jobs. |
Drill log entry (target, backup id, timestamp) · restore output · S4 comparison numbers · restore time and data age · obstacles list · S6 decision with who and when · task ids for any fixes.
After every 4 runs (a year) ask: did every system get drilled at least once, or does the rotation skip the hard ones? Did any obstacle in S5 repeat across drills without a fix closing it? Are the recorded restore times still within what the owner would accept in a real outage? A new version changes the step that let the gap persist, and says so in its change note.
Nosaukums un kopsavilkums ir latviski. Detalizētā izpildes kārtība pagaidām ir kanoniskajā angļu valodas versijā; juridiskos un finanšu soļus publicēsim latviski tikai pēc cilvēka pārbaudes.
Obligātās sīkdatnes tur sarunu kopā. Analītika ir izslēgta, līdz tu atļauj — tā neliek nevienu sīkdatni un neglabā ierīces identifikatoru.Necessary storage keeps your conversation together. Analytics is off until you allow it — it sets no cookie and stores no device identifier. Ko mēs glabājamWhat we store