Skip to content

Create a backup config for an app

POST
/apps/{slug}/backups/configs
curl --request POST \
--url https://your-server.example/api/apps/example/backups/configs \
--header 'Content-Type: application/json' \
--cookie session=<session> \
--data '{ "id": 1, "app_id": 1, "name": "example", "strategy": "postgres", "strategy_config_json": "example", "target": "s3", "target_config_json": "example", "schedule_cron": "example", "retention_count": 1, "enabled": true, "created_at": "2026-04-15T12:00:00Z" }'
slug
required
string

App slug (lowercase, dash-separated).

Media typeapplication/json
object
id
integer format: int64
app_id
integer format: int64
name
string
strategy
string

Example

postgres
strategy_config_json
string
target
string

Example

s3
target_config_json
string
schedule_cron
string
retention_count
integer
enabled
boolean
created_at
string format: date-time

Created.

Media typeapplication/json
object
id
integer format: int64
app_id
integer format: int64
name
string
strategy
string
strategy_config_json
string
target
string
target_config_json
string
schedule_cron
string
retention_count
integer
enabled
boolean
created_at
string format: date-time

Example

{
"strategy": "postgres",
"target": "s3"
}