oracle-dba-data-guard-disaster-recoverylisted
Install: claude install-skill Shreyas70773/oracle-dba-agentic-skills
# Oracle DBA - Data Guard / Disaster Recovery
Physical-standby Data Guard for Oracle **19c and 23ai**, Enterprise Edition,
single-instance and Data Guard, on-prem. In-DB SQL runs through the SQLcl MCP
server on the saved connection **`dba_ai_conn`** (wallet). Host tools
(`dgmgrl`, `rman`, `srvctl`, `sqlplus`) cannot go through the SQLcl MCP server
(it is in-DB only) - they run from a shell via a script or a runbook, and would
later front a guarded `oracle-dba-ops` MCP.
## Scope & risk map
Every task in this domain (both authoring halves), with its self-execute tier
and the exact mechanism. T1 = read-only/observe (self-executes freely);
T2 = reversible (self-executes only with `--dry-run` default + explicit
`--execute`); T3 = destructive / role-change / structural (runbook-only +
`require_approval_token`, NEVER self-executes).
| Task | Level | Tier | Mechanism (path) | Idempotent? |
|------|-------|------|------------------|-------------|
| Data Guard status / health snapshot | L1 | T1 | script:`scripts/dg_status.sh` / `scripts/dg_status.ps1` (db\|broker\|all) + sqlcl-mcp:`sql/dg_status.sql` | yes (read-only) |
| Apply + transport lag report | L1 | T1 | sqlcl-mcp:`sql/dg_lag_monitor.sql`; tighter pre-role-change: `sql/dg_apply_lag.sql` | yes (read-only) |
| Standby Redo Apply (MRP) status | L1 | T1 | sqlcl-mcp:`sql/standby_apply_status.sql` | yes (read-only) |
| DG readiness PASS/FAIL inventory | L1 | T1 | sqlcl-mcp:`sql/dg_config_check.sql` | yes (read-only) |
| Archive /