API reference
backups.create
Take a restore point now
POST/api/v1/sites/{siteId}/backups
Details
Take a restore point of a Site now and return the Job that takes it: the database's Time Travel bookmark and, when media backup is on, a copy of the images and files that changed since the last one, kept in the customer's own Cloudflare account. Takes seconds for the database; the first media copy of a large Site can take minutes. One backup Job per Site at a time (CONFLICT while another runs). CONFLICT before the Site is built or when its Cloudflare account cannot be reached. Audited.
Input
| Field | Type | Notes |
|---|---|---|
siteIdrequired | string | 1 to 64 characters |
Output
| Field | Type | Notes |
|---|---|---|
pointIdrequired | string | |
jobIdrequired | string |