Execute a backup for a stack item.
post/midgard/v0.1/backup/execute/{stackItemId}
Execute a non-configured backup (once) for a stack item.
Request
Authorization
X-AT
header
apiKey
Path Parameters
stackItemIdThe StackItem ID.
integer
REQUIRED
Body
application/json
sourceOnly `full-container` is currently supported.
string
REQUIRED
retentionPeriodThe retention period for this backup, e.g. '5 days 3 hours 1 minute 10 seconds'. Defaults to '30 days'.
string
volumeRequired when source is 'volume'.
string
Response
200Returned when successful.
403User is not allowed to access this resource.
404When stack item was not found.
Shell cURL
shell
Show schema
json