Recovery Procedures for Hybrid Apps

Describes procedures to recover Hybrid Apps.

Modification of Client Variables

After you restore SAP Mobile Platform, manually modify the client variable values again in SAP Control Center.

The version field (which is not visible in SAP Control Center) gets updated with each change to the client variable values. After you restore SAP Mobile Platform, the version field is rolled back to what it was when the backup was done. To change the client variables version for a Hybrid App:

  1. Export the Hybrid App from SAP Control Center.
  2. Open the ZIP file that was exported, and edit the file named manifest.xml.
  3. Search for <Metadata, and change the version to an appropriate value.

Device Logs (Get Trace from SAP Control Center)

You must upload again any traces that were uploaded after the last backup. Depending on how much data has been written to the logs, some data may be missing. The amount of data in the log file on the device is limited by a setting in SAP Control Center. To view or change the limit, select Applications in the left pane. In the right pane:

  1. Select the Applications Connections tab.
  2. Select the device you want to view (check the box in the first column).
  3. Click Properties.
  4. In the dialog that appears, select Device Advanced in the left pane.
  5. Set the limit using the Debug Trace Size property on the right pane.

Hybrid App Assignment

You must assign the Hybrid App to all required devices. There is no impact if the device already has the Hybrid App.

Hybrid App Unassignment

You must unassign the Hybrid App from all required devices. There is no impact to devices that do not have the Hybrid App.

Workflow Data Change Notification

If the device receives a message before the server goes down, and then the server is restored from backup, there may be no matching data on the server when the message is processed by the device. Delete the message from the device and resubmit the message after the servers have been restored.

The device may receive duplicate messages, if any were queued when the backup was performed. You can delete one of the duplicates.

Device to Server Data Loss

Both synchronous (onlineRequests) and asynchronous (workflowSubmit) data submissions result in data loss if they occurred after the last backup. You must perform those actions again.

Application Connection Lost

If the device is registered (either through manual or automatic registration) and on-boarded after the most recent backup, it will not be able to connect when SAP Mobile Platform is restored. You can see Bad User Name Or Code messages in the log (from the Settings screen, select Show Log from the menu). You must reregister the device through SAP Control Center, then on-board the device.

Hybrid Apps

After you restore SAP Mobile Server, you must redeploy any Hybrid Apps that you deployed after the last backup.

Related concepts
Database Corrupt or Significant Data Loss