Skip to main content

Restore a project backup

POST/project-backups/{projectBackupId}/restore/
v2
POST
backup-request-project-backup-restore-v2-experimental

Request

  • projectBackupIdstring
    required

    ID of the ProjectBackup to restore.

Responses

No response content specified.

Usage examples

$ curl \
--fail \
--location \
-X POST \
-d '{"databaseRestores":[{"databaseBackupDump":"dbdump-mysql-123456","targetDatabaseId":"f0f86186-0a5a-45b2-aa33-502777496347"}],"pathRestore":{"clearTargetPath":true,"sourcePaths":["/html/mainApp/config/","/html/assets/"],"targetRestorePath":"/html/mainApp"}}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/project-backups/string/restore