backups.media.set
Turn media backup on or off
PUT
/api/v1/sites/{siteId}/backups/media- Permission
backup:create- MCP tool
backups.media.set
What it does
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
siteIdstringrequired1 to 64 characters
onbooleanrequired
Output
onbooleanrequiredjobIdstring or nullrequired