Vilice is a proof of concept. Run it on a box you can afford to lose.

vilice restore

Restore an app from its latest snapshot (or --machine).

operate recorded before it runs

vilice restore --help
vilice restore — Restore an app from its latest snapshot (or --machine)

Puts an app's data and spec back from the latest snapshot, then
redeploys it.

A restore writes into the live filesystem, so what the repo is allowed
to write is a boundary, not a detail: only this app's spec and its
declared volumes are extracted. Nothing else in the snapshot is, even
if the snapshot contains it.

Usage:
  vilice restore <app> [--snapshot <id>] | --machine

Flags:
  --machine        Restore Vilice's own record instead of an app.
  --snapshot <id>  Restore this snapshot rather than the latest.

Examples:
  Put the app back as of its last snapshot, and redeploy.
    vilice restore blog

  Go back to a particular snapshot.
    vilice restore blog --snapshot 4f8c1a2b

Scope:  operate — reachable by an operate or grant key
Record: written before the command runs