Releasing soon Vigo is in alpha and closing in on its first stable release. Expect breaking changes between releases until then — we're looking for testing partners with meaningful fleets across diverse architectures. Learn more →

vigocli envoys revert

Rollback a envoy to a previous state using either a run ID or a specific file path.

Usage

vigocli envoys revert <hostname-or-uuid> [flags]

Flags

Flag Short Default Description
--run Run UUID to rollback to
--file File path to rollback

Exactly one of --run or --file is required.

Examples

Rollback to a previous run

vigocli envoys revert web-01.example.com --run r1a2b3c4
Rollback successful: Restored 3 resources from run r1a2b3c4

Rollback a specific file

vigocli envoys revert web-01.example.com --file /etc/nginx/nginx.conf
Rollback successful: Restored /etc/nginx/nginx.conf to previous snapshot

Related

  • runs -- view run history to find run IDs
  • preview -- preview planned changes
  • task -- dispatch ad-hoc tasks