Stop and Archive a Sandbox
A 3-step recipe with Daytona. We can help you get access.
Recipe · 3 steps
Stop and Archive a Sandbox
with Daytona
Stop a sandbox and archive it once it has fully stopped.
- Stop the running sandbox.
- Poll the sandbox until it reports stopped, looping while it is still stopping and ending if it enters an error state.
- Archive the stopped sandbox, moving its disk to cold storage.
What you'll need to have ready
- apiToken: Daytona API key used as a bearer token.
- sandboxIdOrName: The ID or name of the sandbox to stop and archive.
- force: Force stop the sandbox using SIGKILL instead of SIGTERM.
For your developer
Arazzo workflow daytona-io:stop-and-archive-sandbox, 3 operations: stopSandbox → getSandbox → archiveSandbox. Specs on APIs.io.