Skip to Content

BackupsResource

Stateless backups: the server stores nothing. An export streams the current data as a gzip bundle the caller keeps; a restore uploads a bundle and applies it, overwriting current data, after the server validates its scope (403 on a mismatch, 400 on an unreadable bundle). Exports need backups:read, or backups:write with includeSecrets; restores need backups:write. Workspace backups need a key with access to all projects in both modes.

Methods

Last updated on