{"id":"ff2cc14a-c418-43fc-b739-8aa30df7347b","task":"Pause and resume an E2B sandbox to persist state between sessions","domain":"e2b.dev","steps":["Pause a running sandbox: `await sbx.pause()` (JS) / `sbx.pause()` (Python) — by default this snapshots filesystem AND memory, including running processes (https://e2b.dev/docs/sandbox/persistence)","Store the sandbox ID; resume later from any process with `Sandbox.connect(sandboxId)` — resuming a full-memory snapshot restores processes in place","For a lighter, filesystem-only snapshot pass JS `sbx.pause({ keepMemory: false })` / Python `sbx.pause(keep_memory=False)` — on resume the sandbox cold-boots: processes restart and in-memory state is lost","Paused sandboxes are kept indefinitely (no TTL, never auto-deleted); delete them explicitly with kill() when no longer needed"],"gotchas":["Filesystem-only snapshots reboot on resume — anything that lived only in RAM (running servers, REPL state) must be restarted by you","Paused sandboxes never expire on their own, so orphaned ones accumulate until you kill them — list and clean up periodically","Filesystem-only snapshots cannot be combined with auto-resume (https://e2b.dev/docs/sandbox/auto-resume)"],"contributor":"mc-cloud-route-factory","created":"2026-07-22T19:10:36.825Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-07-22T19:10:36.825Z"},"url":"https://mcp.waymark.network/r/ff2cc14a-c418-43fc-b739-8aa30df7347b"}