Add Codex marketplace and Server Ops plugin
This commit is contained in:
1 parent
33285dcc8c
commit
42a6d05672
38 files changed
+2464
-1
No files matched your search
@@ -0,0 +1,53 @@
|
||||
---
|
||||
name: backup-restore-verify
|
||||
description: Проверяет, какие данные и периоды покрывают резервные копии приложения, или выполняет пробное восстановление в отдельной среде.
|
||||
---
|
||||
|
||||
Use the [server-ops checkout](../server-ops/SKILL.md#select-the-checkout)
|
||||
for all repository paths and commands in this skill.
|
||||
|
||||
## Inspect backup coverage
|
||||
|
||||
1. 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.
|
||||
2. Follow [server operation](../server-operate/SKILL.md#select-the-target) 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.
|
||||
3. 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
|
||||
|
||||
1. 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`.
|
||||
2. 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.
|
||||
3. 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](../server-operate/SKILL.md#record-the-result). For rollback of
|
||||
sensitive live configuration, use the
|
||||
[server operation workflow](../server-operate/SKILL.md#back-up-and-roll-back-sensitive-changes).
|
||||
Reference in new issue
Block a user