Docs menu

API reference

backups.media.set

Turn media backup on or off

PUT/api/v1/sites/{siteId}/backups/media

Needs the backup:create permission. As an MCP tool it is named backups.media.set.

Details

Choose whether a Site's restore points also copy its images and files. On: WoFlare sets up one small backup helper (a Worker) and one locked backup bucket in the Site's Cloudflare account, shared by every Site there with media backup on, binds this Site's media to it and takes a first restore point with media; the copies use the account's own R2 storage. Off: new restore points hold the database only; copies already made stay until their restore points expire. Returns the Job that does it, or none when nothing changes. Audited.

Input

FieldTypeNotes
siteIdrequiredstring1 to 64 characters
onrequiredboolean

Output

FieldTypeNotes
onrequiredboolean
jobIdrequiredstring or null

All Operations