# `workspaces.backup` Snapshot the sandbox's /workspace/store to R2 (7-day TTL); restored automatically on the next cold start. - **method + path**: `POST /v1/workspaces/{ws}/backup` - **TR label**: Sandbox yedeği alındı - **auth**: authenticated · scope gates: any of `admin`, `sandbox:use` — “Sandbox kullanımı için sandbox:use yetkisi gerekli” - **agentPolicy**: `workspace` — writes confined to the caller's own draft workspace or staging — every token kind executes it directly. - **effects**: `provider`, `r2`, `db` - **idempotency**: server — the platform derives the key - **wraps**: — (no command inside) Machine-readable body schema: [/schemas/routes/workspaces.backup.json](/schemas/routes/workspaces.backup.json). ## Body ```json { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": {} } ```