Create backup config for a stack item.
post/midgard/v0.1/backup-config/{stackItemId}
Creates a new backup configuration for a specific stack item.
Request
Authorization
X-AT
header
apiKey
Path Parameters
stackItemIdThe stack item ID.
integer
REQUIRED
Body
application/json
sourceOnly `full-container` is currently supported.
string
REQUIRED
retentionPeriodThe retention period for this backup.
string
volumeRequired when source is 'volume'.
string
intervalRequired when scheduling a backup.
object
object {}
Response
201Returned when successful.
403User is not allowed to access this resource.
404Returned when the stack item was not found.
Shell cURL
shell
Show schema
json