CLI reference
flypod rollback
Make a previous version of a flypod site live again, by version id, unambiguous prefix, or no argument for the previous version.
flypod rollback makes a previous version live again. With no argument it rolls back to the version immediately before the current live one.
Synopsis
flypod rollback [version]The version argument accepts an exact version_id or an unambiguous prefix of one. With no argument, flypod targets the previous version. The target site is resolved from the folder-to-site link, or from --site.
Flags
| Flag | Description |
|---|---|
--site <id> | Target a specific site id instead of the linked one. |
--token <manage_token> | Authorize with a manage_token instead of your session. |
--json | Emit a single JSON object. |
-q, --quiet | Print only the essential value on stdout. |
-h, --help | Print usage and exit. |
Examples
Roll back to the previous version:
flypod rollbackhttps://k3p9x2.flypod.devRoll back to a specific version by prefix:
flypod rollback v_5aNotes
- An ambiguous or unknown prefix is rejected before any request is made; nothing changes server-side.
- flypod refuses to roll back when only one version exists, or when the live version is already the oldest.
- Use
flypod versionsto find the version id or prefix to target.