autonomy ha backup restore

Restore from a backup (destructive; requires –confirm)

Synopsis

Restores the control-plane database from a backup using pg_restore. This is a DESTRUCTIVE operation — the current database contents will be replaced with the backup contents.

The backup is identified by –backup-id (from inventory) or –file (direct file path). When using –backup-id, the checksum is verified before restore.

You MUST pass –confirm to proceed. Without it, the command exits with an error to prevent accidental restores.

Use ‘autonomy ha backup list’ to find available backup IDs.

Usage

autonomy ha backup restore [flags]

Options

      --backup-id string          backup ID from inventory to restore
      --confirm                   confirm destructive restore operation (required)
      --file string               direct path to backup file (bypasses inventory lookup)
      --operator string           operator identity for audit trail (required)
      --orchestrator-url string   orchestrator base URL (env: AUTONOMY_ORCHESTRATOR_URL)
      --output string             output format: "text" or "json" (default "text")
      --reason string             reason for the restore (for audit trail)

See also