Skip to main content

Guides

Each guide answers one question of the form "how do I do X". They assume you understand the concept behind the task; if you do not, the concepts pages explain the machinery, and the tutorials teach by doing.

Every guide states when to use it and what must be true before you start, because the wrong procedure applied confidently is worse than no procedure at all.

Setting up

GuideUse it when
Environment setupYou are bringing up databases to work against, locally or in CI.
Database credentialsYou are deciding how Sentinel will authenticate, and want to keep secrets out of process arguments.
Enable encryptionYou want artifacts encrypted at rest. Off by default.
Key rotationYou are replacing an encryption key without losing access to existing artifacts.
Alerting setupYou want to hear about failures rather than discover them.

Running backups

GuideUse it when
Run a backup from configurationYou are taking your first real backup, or debugging one that will not run.
Backup compressionArtifact size or transfer cost matters.

Retention

GuideUse it when
Apply retentionYou need old backups expired, and want to know exactly what will be deleted first.
GFS retentionFlat count and age rules are not enough and you need calendar tiers.

Storage

GuideUse it when
Check a storage backendYou want to confirm Sentinel can reach where it writes.
Migrate a storage backendYou are moving artifacts between backends. Read the restore-support caveat before you start.
Restore from GCSYour artifacts live in Google Cloud Storage.

Integrity and history

GuideUse it when
Verify backup integrityYou want to know whether a specific artifact is still intact.
Repository integrity sweepYou want that answer for every artifact at once.
Inspect monitor historyYou are asking what ran, when, and whether it worked.

Restore and maintenance

GuideUse it when
Parallel restoreYou are restoring several jobs and want them to run concurrently.
Upgrade the Sentinel binaryYou are moving to a new release.
Database migration statusYou want to know what schema version the history database is on.
Monitor schema migrationA migration needs performing or has gone wrong.

A note on accuracy

These guides describe what Sentinel does today, not what it is meant to do. Where a feature does not work, or works differently from the runbook it was derived from, the guide says so and links to the open issue rather than quietly documenting the intended behaviour.

That means some pages carry warnings about configuration keys that are accepted but ignored, and about commands that report success without acting. Those warnings are the most valuable part of the page. Read them before relying on the feature.

Not yet written

Two guides are held back until the defects they depend on are resolved, because documenting them now would mean describing procedures that cannot be followed:

  • Starting the scheduler, which depends on schedule stop (#138). Until then, see the repository's start-scheduler runbook, bearing in mind that its claim about stale locks being reaped at startup is not true today (#142).
  • Restore rehearsals, which depend on verify_after_restore (#149). Until then, see the repository's restore-rehearsal runbook, and verify the result by querying the restored database rather than by setting that key.

Until then, the scheduler concept page covers running the cron loop, and the restore concept page covers rehearsing a restore by hand.

For incident procedures, the runbooks in the repository remain the reference until the operations section is published.

{/* sources: docs/runbooks/, internal/cli/ */}