Browse rp

rp dev restore

Restore a named snapshot into a running Postgres service unit.

Name

rp dev restore — Restore a named snapshot into a running Postgres service unit.

Synopsis

rp dev restore <unit> <name>

Description

Restore a named snapshot into a running Postgres service unit. This drops and recreates the public schema before importing SQL; confirm the unit and make a fresh backup before replacing data.

See also

The dev command index and rp help.