{"success":true,"name":"plan-for-the-breach-backups-recovery-and-a-worst-day-playboo","description":"Project has real data but no tested plan for hacks, deletion, or server loss","category":"ai-brimind","path":"ai-brimind/plan-for-the-breach-backups-recovery-and-a-worst-day-playboo/SKILL.md","file":"SKILL.md","content":"---\nname: plan-for-the-breach-backups-recovery-and-a-worst-day-playboo\ndescription: \"Project has real data but no tested plan for hacks, deletion, or server loss\"\n---\n\n# Plan for the Breach: Backups, Recovery, and a 'Worst Day' Playbook\n\n## When to use\nThe app stores data users would cry to lose, and you have not defined how to recover from deletion, corruption, ransomware, or a leaked credential.\n\n## Example request\nBackups exist but were never restored once → the day you need them, they turn out broken or incomplete; a backup only counts after a successful test restore (restore testing). Backups sit on the same server as the app → whatever kills the server kills the backups too; copies must live elsewhere (off-site separation). An API key leaks and nobody knows how to rotate it → panic replaces process; every secret needs a known rotation procedure written down (incident playbook). The database was corrupted Tuesday, discovered Friday → daily-only snapshots lose days of work; backup frequency must match how much loss is acceptable (recovery point objective).\n\n## Instructions\nAct like an engineer who assumes the worst day will come — a hack, a bad migration, a deleted table, a leaked key — and prepares while things are calm. Define what must survive: list the data and configuration whose loss would be unacceptable, then set up automatic backups for each, stored in a different location than the system they protect, with a frequency matching how much loss the business can tolerate. Prove recovery, don't assume it: perform a real restore into a scratch environment and time it; an untested backup is a hope, not a plan. Write the short playbook for the likely incidents: how to rotate each secret and key, how to force-logout all sessions, how to take the app offline safely, and who to inform. Prefer the platform's managed backup and point-in-time recovery features over hand-rolled dump scripts when available. Only consider this done once a restore has actually succeeded and the playbook exists where someone stressed can find it, and explain how each piece shortens the worst day (recovery time) instead of just existing on paper.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #543\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}