PostgreSQL Snapshot CLI

Reset your DB to known state instantly.

Seedmancer helps your team restore PostgreSQL to a known state in seconds for reliable E2E and API testing.

4

core CLI commands

1

fast reset workflow

0

extra setup required

Command Flow

Built for speed

Create snapshot

seedmancer snapshot create base

List snapshots

seedmancer snapshot list

Restore snapshot

seedmancer snapshot restore base

Why test reliability gets stuck

The root cause is almost always state inconsistency, not test code quality.

Flaky E2E runs

Unpredictable database state creates test noise and slows delivery velocity.

Slow restore workflow

Manual cleanup and reseeding before every run kills local and CI feedback speed.

Accidental destructive resets

Without safety confirmations and defaults, one wrong command can wipe useful state.

Minimal feature set, fast workflow

Everything here is focused on fast, reliable database reset workflows.

seedmancer snapshot create [name]

seedmancer snapshot restore <name>

seedmancer snapshot list

seedmancer reset

seedmancer.yml for DB + snapshot directory

Auto naming when snapshot name is skipped

Basic destructive action confirmation

How it works

1

Create a snapshot

Export your current PostgreSQL database state and store it locally in .seedmancer/.

2

Restore instantly

Wipe current DB contents and restore a known snapshot with one command.

3

Reset every run

Use seedmancer reset to restore your default snapshot for reliable local and CI tests.

Included in Seedmancer

A focused command set for daily development and CI reliability.

  • seedmancer snapshot create [name]
  • seedmancer snapshot restore <name>
  • seedmancer snapshot list
  • seedmancer reset
  • seedmancer.yml for DB + snapshot directory
  • Auto naming when snapshot name is skipped
  • Basic destructive action confirmation

Coming next

Diff, branching, and cloud workflows

We are starting with fast local snapshot workflows, then adding advanced collaboration features.

Frequently asked questions

Does this work with Cypress and Playwright?

Yes. Add seedmancer reset before your test command and each run starts from a known state.

What features are included?

Snapshot create, snapshot restore, snapshot list, reset shortcut, config file, auto naming, and basic safety confirmations.

What is coming next?

Advanced features like snapshot diff, branching, cloud sync, and hosted workflows are planned for future releases.