Skip to main content

Disaster Recovery

To ensure smooth disaster recovery for your "Link" app deployed on SAP Business Technology Platform (BTP), it's essential to maintain a reference copy of your app manifest. This manifest includes client-specific configurations for the "Link" app, which are required if the app is removed or deleted from SAP Cloud Foundry.

Steps for Disaster Recovery

The app manifest is a crucial file that contains the configuration settings for your "Link" app. Ensure that you keep an up-to-date reference copy of this manifest after the initial installation. This manifest will be used to redeploy the "Link" app in case of any unintentional removal or deletion.

  1. Login with cf command: The cf_api_endpoint can be found on the subaccount page of BTP. If the user account has access to multiple subaccounts or spaces, the command will walk the user through selecting which space to connect to.

    cf login -a <cf_api_endpoint> -sso
  2. Retrieving the Latest App Manifest: If you need to ensure you have the most recent configuration for your app, retrieve the manifest from SAP Cloud Foundry using the cf CLI (Cloud Foundry Command Line Interface) tool. Use the following command to generate the manifest:

    cf create-app-manifest [app-name] -p [app-name]_manifest.yml
    • Replace [app-name] with the name of your "Link" app.
    • The output will be saved to a file named [app-name]_manifest.yml, which you can use for future deployments.
  3. Redeploying the "Link" App: If your app is deleted or removed from SAP Cloud Foundry, use the saved manifest to redeploy the app by following these steps:

    • Ensure the manifest is up to date.
    • Use the Cloud Foundry CLI to redeploy the app by executing:
    cf push [app-name] -f [app-name]_manifest.yml

    This will redeploy the "Link" app using the configurations defined in the manifest file.

Additional Notes:

  • It's recommended to store the app manifest in a secure location where it can be accessed during recovery operations.
  • Regularly check and update your app manifest to ensure that any changes in the app configuration are captured.