Managing backup and restore

This REST API is used to perform data backup and restore.

List of resources

  • POST /data/backup

    Creates a backup of the specified modules.

  • POST /data/restore

    Restores the specified modules in the specified data file.

  • GET /data/status/{handle}/backup

    Downloads the specified backup file.

  • GET /data/status/{handle}

    Retrieves the download status of the specified backup file.

Sample cURL Command

curl --location --request POST 'developer_portal_rest_base/data/backup/' \
--header 'xsrf-token: VbOuuiSA6K8YNWvN2D8Dl-I9sUU9GVM8bFZBMjVScFo' \
--header 'Authorization: Basic basic_auth' \
--header 'Content-Type: application/json' \
--data-raw '{
   "modules": ["User","Collaboration","Theme","Core"]
}'

The backup-restore.yaml file is located at SAGInstallDir\DeveloperPortal\developers\openapis.