Legacy Knowledge Base
Published Jun. 30, 2025

Unable to restore backups in Liferay PaaS

Written By

Justin Mann

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • When attempting to restore a backup to the Liferay service, the backup appears to be restored successfully, but there is no document library that appears associated with the Liferay service
  • The following error appears in the log file relating to the backup failing to be restored
Cannot swap backup storage unless services with ids [backup,database,liferay] exist for project

Environment

  • Liferay DXP 7.4
  • Liferay PaaS

 

Resolution

  • Based on the error, the backup restore service is failing due to misnamed services
  • The default names for 3 of the services are backup, database and liferay
  • These service names cannot be changed, or else certain processes, like the backup restore, may fail. The service names should be set as backup, database, and liferay
  • If there is a requirement to have different portals with different versions, these should be run on independent environments. It is not supported to have different portals with different versions on the same environment.
Did this article resolve your issue ?

Legacy Knowledge Base