Answers for "How can I programmatically download a backup from FME Server?" https://knowledge.亚搏在线safe.com/questions/38901/how-can-i-programatically-download-a-backup-from-f.html The latest answers for the question "How can I programmatically download a backup from FME Server?" Answer by itay https://knowledge.safe.com/answers/39019/view.html

And if you just want to save the backup file in the resources area:

/migration/commands/backup/resource

Wed, 25 Jan 2017 10:14:55 GMT itay
Answer by aaronkoning https://knowledge.safe.com/answers/39009/view.html

Here is a cURL command that I exported from Postman:

curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Accept: application/octet-stream" -H "Cache-Control: no-cache" -H "Postman-Token: b0e3b38b-8f9c-0900-8b51-5a4854e7cfc9" -d '' "http://ap-fme32bit/fmerest/v2/migration/commands/backup/download?accept=contents&token=45228cf4eae10fc585917c61d7bf2be721783878&exportPackageName=ServerConfigPackage.fsconfig"

Note: I haven't tested it in cURL.

Wed, 25 Jan 2017 00:39:05 GMT aaronkoning
Answer by aaronkoning https://knowledge.safe.com/answers/38904/view.html

Here is a workspace that uses the REST API to download a backup from FME Server

backup.fmw

Mon, 23 Jan 2017 23:31:17 GMT aaronkoning
Answer by aaronkoning https://knowledge.safe.com/answers/38902/view.html

You can use the REST API call: /migration/commands/backup/download

https://docs.safe.com/fme/html/FME_REST/v2/apidoc/index.html#!/migration/syncBackup_post_0

---

Here are the settings to use in Postman:

Mon, 23 Jan 2017 23:08:27 GMT aaronkoning