Write a Backup
POST
/system/backups
Writes a backup now (2.11.0): BACKUP_COLLECTIONS (default the declared and the internal collections) as gzipped canonical Extended JSON into the bucket <AUTH_PREFIX>backups or BACKUP_DIRECTORY; keeps BACKUP_RETENTION backups. 409 while another instance writes one. For administrators.
Authorizations
httpAuth
Type
HTTP (bearer)
or
httpAuth1
Type
HTTP (basic)
or
apiKeyAuth
Type
API Key (header: X-AUTH-APIKEY)
Responses
application/json
JSON "id": "string", "createdAt": "2024-01-01T00:00:00Z", "database": "string", "coreVersion": "string", "collections": [ { "name": "string", "count": 0, "indexes": [ { "additionalProperties": "string" } ], "validator": { "additionalProperties": "string" }, "validationLevel": "string", "validationAction": "string" } ]
{
}
