Back up an app
curl --request POST \
--url https://api.storiza.store/apps/{id}/backups \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.storiza.store/apps/{id}/backups', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.storiza.store/apps/{id}/backups"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"success": true,
"message": "Backup started",
"data": {
"appId": "<string>",
"backupCenterId": "<string>",
"sizeMi": 123,
"prefix": "<string>",
"id": "<string>",
"mechanism": "volume",
"status": "pending",
"message": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z"
}
}App backups
Back up an app
Archive the app’s volume and upload it to a backup center. A center is chosen by capacity and round-robin so backups spread across centers instead of filling the first. The archive streams from the node straight to the center — it is never staged on the control plane. Returns immediately; poll the backup for its status.
Required API key permission: apps:write
POST
/
apps
/
{id}
/
backups
Back up an app
curl --request POST \
--url https://api.storiza.store/apps/{id}/backups \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.storiza.store/apps/{id}/backups', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.storiza.store/apps/{id}/backups"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"success": true,
"message": "Backup started",
"data": {
"appId": "<string>",
"backupCenterId": "<string>",
"sizeMi": 123,
"prefix": "<string>",
"id": "<string>",
"mechanism": "volume",
"status": "pending",
"message": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z"
}
}Authorizations
An API key from the Storiza dashboard (API & Integrations), sent as Authorization: Bearer stz_….
Path Parameters
Was this page helpful?