2.9 KiB
2.9 KiB
name, description
| name | description |
|---|---|
| backup-restore-verify | Проверяет, какие данные и периоды покрывают резервные копии приложения, или выполняет пробное восстановление в отдельной среде. |
Use the server-ops checkout for all repository paths and commands in this skill.
Inspect backup coverage
- Identify the application, required recovery point or acceptable data loss, and the data needed for a usable restore. Check databases, uploaded files or volumes, deployment configuration, and access to decryption keys. A platform backup can cover the control plane while managed applications need their own backups.
- Follow server operation for server access. Inspect the backup policy, recent job results and available recovery points within the requested scope. Compare the configured retention with the copies actually available. Use backup metadata to check whether the required components can be restored to a consistent recovery point. Note missing components or dependencies.
- Where available, use the backup tool's read-only verification or compare against a trusted checksum. Record what the check covered. Report the restore as verified only after an application check on restored data.
Rehearse recovery
- For a requested test restore, choose a compatible application and database
version and a disposable target within the authorized scope. Check free
space and use separate databases, volumes and credentials. Keep the
restored application private and block access to production dependencies
and outbound jobs, mail and webhooks before starting it. Before accessing
another server, follow "Scope and verification" in the selected checkout's
AGENTS.md. - Use a backup from a trusted source. Keep the original read-only and verify any staged copy before use. Use the restore procedure supported by the selected versions. Stop on an integrity mismatch or an unexpected destination. If no independent integrity check is available, record that limitation.
- Check restored data against expectations for the selected recovery point. Exercise application functions that read each critical data component. For Gitea, verify both database-backed records and existing Git refs or repository contents. Keep sensitive data and credentials out of output and Git. Remove only the drill resources within scope and record any retained artifacts.
Record the result
Record coverage, recovery point, verification commands and exit statuses, application check when run, and gaps in the service notes and history. For rollback of sensitive live configuration, use the server operation workflow.