kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

CLI / rewind

kosa8 rewind

Put a sandbox back to a saved restore point

Usage#

kosa8 rewind SANDBOX

Discards the sandbox as it is now and brings back a checkpoint under the same name, with processes still running from the moment it was saved.

With no --to, this rewinds to the most recent checkpoint. Checkpoints taken after the one you rewind to are dropped, because they describe a future that no longer happened.

The current state is saved first and kept until the checkpoint is running, so a restore that fails (a full disk, say) puts the sandbox back as it was instead of losing it. If the save itself fails nothing is changed; --discard-current skips it.

Options#

FlagTypeWhat it doesDefault
--discard-currentbooldo not back up the current state first (for a sandbox that cannot be snapshotted); a failed restore then loses it—
--tostringrewind to this checkpoint id or label (default: the latest)—
-y, --yesboolskip the confirmation—

Example#

  kosa8 rewind dev
  kosa8 rewind dev --to before-upgrade -y

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · Zero Trust cybersecurity infrastructure for AI agents · Local models served by llamay · Agent gateway: MAQPNA