Subscribe rss
Blog categories
All | Backendless features
Feature 79: Migrating app’s backend from one environment to the next (dev to test to stage)
March 29, 2015 by markpiller

In my post yesterday I wrote about support for multiple environments for your apps’ mBaaS backend. These could include development, testing, staging and/or production. As backend advances through its stages, an obvious question is how to migrate the backend’s data from one environment to another. Backendless provides a very advanced facility for backend migration between the environments. Take a look at the following interface:

The environment/version deployment interface is available on the Versioning screen. To get to the deployment interface:

  1. Login to Backendless console, select your app and click the Manage icon.
  2. Click the Versioning menu.
  3. Click the Deploy button for the version/environment you would like to deploy.

The interface provides two collections: assets to deploy (settings, business logic scripts, data objects, users, etc) and the permissions for any selected assets. As you select various assets and permissions, the interface also enables conflict resolution policies. A conflict may arise if an asset, for example a geo point, already exists in the target version. In that case. you have to make a selection what should happen – ignore the asset, overwrite it in the target environment or stop and rollback. Notice that every single type of asset may have its own conflict resolution policy.

Share this post
Tweet about this on TwitterShare on FacebookGoogle+