Blogacrynite.com

restore commands

Plan and run physical Docker recovery and logical database recovery.

Plan

$acrynite restore plan --database <name> --latest --target docker
$acrynite restore plan --database <name> --target-time <timestamp> --target docker
$acrynite restore plan --backup-id <backup-id> --target docker

Run

$acrynite restore run --backup-id <backup-id> --target docker
$acrynite restore run --backup-id <backup-id> --target docker --target-time <timestamp>
$acrynite restore run --backup-id <backup-id> --target-database <registered-target>

Two separate workflows

Physical recovery uses --target docker and recovers into an isolated container. Logical recovery uses --target-database and imports into a separately registered PostgreSQL target. For full option tables, check the installed release's CLI help output.