Skip to main content

astro deployment hibernate

Hibernate an Astro development Deployment for a set amount of time. Overrides any existing hibernation schedule and sets the Deployment to hibernate for a specific duration or until a specific date.

Usage

astro deployment hibernate [one of --until/ --for/ --remove-override]

Options

OptionDescriptionPossible Values
-n,--deployment-nameThe name of the development Deployment to hibernate.Any valid Deployment name
-u, --untilSpecify the hibernation period using an end date and time.Any future date in the format YYYY-MM-DDT00:00:00Z
-d, --forSpecify the hibernation period using a duration.Any amount of time in the format XhYm
-r, --remove-overrideRemove any existing override and resume regular hibernation schedule.None
-f, --forceThe CLI will not prompt to confirm before hibernating the Deployment.None

Was this page helpful?