Skip to main content

Module backup

Module backup 

Source
Expand description

runtime backup — operator-facing snapshot operations.

runtime backup create — calls the admin-only createBackupSnapshot mutation, returning the on-disk path where the server wrote the tarball.

The restore path is intentionally not exposed via this CLI: a restore needs the API stopped, the data directory wiped, and the pg_restore run by an operator with shell access to the host. Putting a one-button “restore” in a CLI talking to a live API makes the foot-gun too easy. The restore runbook in docs/operator/disaster-recovery.md is the sanctioned path.

Enums§

BackupCmd

Functions§

run