Download Application files from Bluemix

2019-05-21 04:57发布

问题:

Is there a way to download the content of an application running on Bluemix after staging it?

回答1:

Bluemix uses cloud foundry (CF) to manage the platform. By default the CF CLI does not have the capability to download the Application files from Bluemix. On CF CLI version 6.10.0 or higher, we can install a download plugin to retrieve these files from Bluemix locally.

To install the plugin follow the below commands: $ cf add-plugin-repo CF-Community http://plugins.cloudfoundry.org/ $ cf install-plugin cf-download -r CF-Community

Once the plugin is installed you can download the files using the command
$ cf download <<APP_NAME>> [path]

Eg: $ cf download myapp