From e45f1403d614d0ecb7201641496d7d9b27f0ff58 Mon Sep 17 00:00:00 2001 From: NedPK Date: Fri, 27 Sep 2024 17:07:02 +0300 Subject: [PATCH] fix full backup formatting --- .../Physical Backup Examples.md | 29 +++++++++---------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/docs/Backup and Restore/Physical Backup Examples.md b/docs/Backup and Restore/Physical Backup Examples.md index fa3badfb..8b005932 100644 --- a/docs/Backup and Restore/Physical Backup Examples.md +++ b/docs/Backup and Restore/Physical Backup Examples.md @@ -30,13 +30,12 @@ Use it on subsequent request, e.g: curl --location 'https://api.skysql.com/skybackup/v1/backups/schedules' \ --header 'Content-Type: application/json' \ - --header 'Accept: application/json' \ - --header "X-API-Key: $API_KEY" \ - --data "{ - \"backup_type\": \"full\", - \"schedule\": \"once\", - \"service_id\": \"$SERVICE_ID\" - }" + --header 'X-API-Key: $API_KEY' \ + --data '{ + "backup_type": "full", + "schedule": "once", + "service_id": "$SERVICE_ID" + }'" - API_KEY : SKYSQL API KEY, see [SkySQL API Keys](https://app.skysql.com/user-profile/api-keys/) @@ -44,16 +43,14 @@ Use it on subsequent request, e.g: #### Cron Full(physical) Example - - curl --location 'https://api.skysql.com/skybackup/v1/backups/schedules' + curl --location 'https://api.skysql.com/skybackup/v1/backups/schedules' \ --header 'Content-Type: application/json' \ - --header 'Accept: application/json' \ - --header "X-API-Key: $API_KEY" \ - --data "{ - \"backup_type\": \"full\", - \"schedule\": \"0 3 * * *\", - \"service_id\": \"$SERVICE_ID\" - }" + --header 'X-API-Key: $API_KEY' \ + --data '{ + "backup_type": "full", + "schedule": "0 3 * * *", + "service_id": "$SERVICE_ID" + }'" - API_KEY : SKYSQL API KEY, see [SkySQL API Keys](https://app.skysql.com/user-profile/api-keys/) - SCHEDULE : Cron schedule, see [Cron](https://en.wikipedia.org/wiki/Cron)