Issue
After following the documentation to set up Cross-Region Disaster Recovery in Liferay PaaS, the backups from the primary (production) environment are not visible in the secondary (disaster recovery) environment. The UI in the DR environment's Backup service does not show the tab or dropdown to select the production environment's backups.
Environment
-
Liferay PaaS
Resolution
The environment variables required for connecting the disaster recovery environment to the primary environment must be set in the Backup service, not the Liferay service.
-
Navigate to the Backup service settings in your disaster recovery environment.
-
Add the following environment variables:
-
LCP_EXTERNAL_PROJECT_ID: The Project ID of your primary environment. -
LCP_EXTERNAL_PROJECT_MASTER_TOKEN: A master token from your primary environment.
-
-
Restart the Backup service for the changes to take effect.
After the service restarts, the Backup service UI in the disaster recovery environment will display a dropdown or tab to view and restore backups from the primary environment.