Skip to content

gormes restore

Discover and restore from a pre-update backup zip.

gormes restore [flags]
FlagDefaultPurpose
-h, --helphelp for restore
--jsonfalseemit machine-readable JSON: --list returns {build, backups: [...]}; dry-run returns {build, action: 'preview', path, dest, dry_run, would_overwrite, would_create}; --yes returns {build, action: 'restored', path, dest, file_count, overwrote, created}
--latestfalserestore the newest pre-update backup (resolved by mtime)
--listfalselist available pre-update backup zips, newest first
--path(none)path to a pre-update-*.zip to restore (overwrites files in GORMES_HOME)
-y, --yesfalseconfirm the destructive restore (without --yes the command runs as a dry-run preview)