Stage 3: Uploading and Restoring the Data Backup¶
With your Liferay DXP database and document library in a compatible format, the next stage is to upload them together as a single backup to DXP Cloud and restore them to your chosen environment.
Upload the Backup¶
First, you must upload the data to the backup
service in your chosen environment. This creates a new backup that you can then restore.
Warning
Uploading a backup may take minutes or hours to complete, depending on the file size and your internet connection speed. While the upload is in progress, the backup
service cannot create, restore, or delete other backups. To avoid the process getting stuck, do not close the window with the upload or let your device go to sleep until it is finished.
Upload the backup using the Backups page.
In the DXP Cloud console, navigate to your chosen environment, and click Backups from the menu on the left.
On the Backups page, click Upload Backup… at the top of the screen.
Add the database dump and document library archive you created previously by clicking on the buttons for each.
Note
The database dump and document library uploads should not exceed 2 TB total. To upload larger files, contact DXP Cloud Support.
Click Initiate Upload and wait for the upload to complete.
When the upload completes, a new backup is available at the top of the list on the Backups page with your data.
Restore the Backup¶
Restore the backup created from your upload on the Backups page.
Click Restore to… from the actions menu for the correct backup.
Select the proper environment to restore the backup to from the dropdown menu.
Warning
Make sure you select the correct target environment. When you restore the backup, the target environment’s database and Liferay data storage are overwritten with data from the backup, and the overwrite is not reversible.
Click Restore to Environment and wait for the backup restoration to complete.
Warning
The target environment is unavailable while the backup restoration is in progress.
When the backup restoration is complete, the target environment has the same data from the database and document library you uploaded.
Tip
You can check the status of your Liferay DXP instance on DXP Cloud by clicking Visit Site on the top bar of the target environment.
Next Steps¶
Now you have a Liferay instance up and running on DXP Cloud with your data. Next, you will migrate your configurations and customizations for Liferay DXP to your Cloud environment.