Patchforge writes schema snapshots to disk to support deterministic rollback. Snapshot data is never stored in the database.
Patch source SQL is never persisted. It is always pulled fresh from Git.
By default, snapshots are written to:
/tmp/patch-snapshots
The location can be overridden using:
SNAPSHOT_DIR=/data/snapshots
In Kubernetes environments, SNAPSHOT_DIR must be backed by a PersistentVolumeClaim.
Patchforge must run as a single replica.
Patchforge does not automatically prune snapshots.
Snapshot retention is an operational responsibility.
Rollback functionality is currently considered beta.
Snapshot format and guarantees may evolve in future releases.
If snapshot storage is unavailable:
Patchforge fails safe.