Zum Hauptinhalt springen

Create a Backup of a Project

POST/projects/{projectId}/backups/
v2
POST
backup-create-project-backup

Request

  • projectIdstring (uuid)
    required

    ID of the project to create a Backup for.

Responses

application/json

Created

  • createdAtstring (date-time)
  • deletableboolean
    required
  • descriptionstring
  • expiresAtstring (date-time)
  • exportobject
    • downloadURLstring (url)
    • expiresAtstring (date-time)
    • formatstring
      required
    • phasestring (one of: , Pending, Exporting, Failed, Completed, Expired)
    • withPasswordboolean
      required
  • idstring (uuid)
    required
  • parentIdstring (uuid)
  • projectIdstring (uuid)
    required
  • statusstring
    required

Usage examples

$ curl \
--fail \
--location \
-X POST \
-d '{"description":"I'm a ProjectBackup","expirationTime":"2024-11-08T18:11:35.055Z"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/projects/f0f86186-0a5a-45b2-aa33-502777496347/backups