Nattha K
Nattha K

Reputation: 103

How to download the app with the CLI from the Swisscom App Cloud?

I am trying to download my app which is currently running in the Swisscom App Cloud.

Therefore I installed the cf-download plugin.

My command: cf download app-name /public --verbose --omit /vendors --overwrite

After running this command I get the following error:

The app is running on the Diego backend, which does not support this command.

Is cf download thus not possible in the Swisscom App Cloud?

I've tried cf files as well. Same error.

Upvotes: 1

Views: 1639

Answers (1)

Sybil
Sybil

Reputation: 2592

You can do that with an API call

Apps API Downloads the staged droplet for an App GET /v2/apps/:guid/droplet/download When using a remote blobstore, such as AWS, the response is a redirect to the actual location of the droplet.

step by step:

cf app $APP --guid
cf curl /v2/apps/$GUID/droplet/download > testing.gz
tar -xzvf testing.gz

I successfully tested it on Swisscom App Cloud.

Upvotes: 7

Related Questions