This topic provides information about which components of an on-demand service have state and can be backed up.
The on-demand service broker is stateless, so there is nothing to backup or restore.
Service instances created by the on-demand service broker may have state that needs to be backed up, for example, data services.
It is the responsibility of the service author to provide documentation for the operator to backup and restore on-demand service instances. For a list of deliverables provided by the service author, see Service Author Deliverables.
The on-demand service broker fetches the state of service instances and their deployments from the Cloud Foundry API and BOSH Director respectively. Therefore, to recover on-demand service instances in a disaster both the Cloud Controller database and BOSH Director database must be restored from a backup.
For how to backup and restore a deployment, see Backing Up and Restoring Deployments.