4 Complete the Post-Migration Tasks
After you create the instance on Oracle Cloud Infrastructure and import the design-time metadata, you can import the application data of live applications. Lock the live application on the traditional cloud account instance and import the live data to the new application before republishing it on the new instance on Oracle Cloud Infrastructure.
Migrate a Live Visual Builder Application
Any applications on the Oracle Visual Builder Traditional Cloud Account instance that are live will need to be staged and published again after they are migrated to the new instance on Oracle Cloud Infrastructure.
Developers can lock a live visual application to prevent changes to live application data, and then import the live data to the new version of the application on Oracle Cloud Infrastructure. After the live data is imported and the application is published, users can be instructed to use the new version of the live app. For users who access a web application, you’ll need to communicate the new URL that replaces the URL they used previously to access their web applications. For mobile applications, you’ll need to rebuild and republish your mobile apps to the app store(s) where you initially published it or use whatever mechanism you used previously to distribute the mobile app. Do this so users can update the mobile app on their device to a version of the app that was built using Oracle Visual Builder on Oracle Cloud Infrastructure.
Lock the Live Visual Builder Application
If you are migrating an application that is a live application, you can lock the live application to prevent any users from using the application while you migrate it to your new instance.
Export Application Data From the Live Database
You can export all the data contained in your database as CSV files. The export tool creates one CSV file for each of the custom business objects in your database and packages the files as a ZIP archive.
To export the database data as a CSV file:
- Open the Oracle Visual Builder Traditional Cloud Account instance.
- On the Visual Applications home page, open the visual application and open the Business Objects pane in the Navigator.
- Click the Options menu in the Business Objects pane and select Data Manager.
- Select the Live database in the dropdown list.
- Click Export All Data to download a ZIP archive that contains CSV files with the data.
You will import the zip archive into the Live database of the published app on the new instance on Oracle Cloud Infrastructure.
Import the Live Application Data into the New Application
You can populate the database of your new visual app with the live data exported from your application on the Oracle Visual BuilderTraditional Cloud Account instance.
You can import the archive containing the Live data into the Development, Staging or Live database of your new application, and then include the data when you stage or publish the app. For example, if your app is staged but not yet published, you can import the Live data into the Staging database and then publish the app, making sure that you select Include data from Stage in the Publish Application dialog box.
To import Live data into your application's database:
Publish the New Application with the Live Application Data
You can publish a staged version of your application from the Home page or from the main menu. After you publish a version of an app it is read-only and can no longer be changed. To make changes to update the app you need to create a new version.
- Open the new Oracle Visual Builder instance on Oracle Cloud Infrastructure
- On the Visual Applications home page, open the Application Options menu for the application version you want to publish and select Publish.
- For web applications, communicate the URL that end users must now use to access the web application(s) that you have published.
- For mobile applications, update the app store with an instance of the app that you have just published so end users can update their installation with the newer version of the app that has been built using Oracle Cloud Infrastructure.