Legacy Knowledge Base
Published Sep. 10, 2025

Hot Backups of the Liferay Database: Risks and Recommendations

Written By

Daniel Martinez Cisneros

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

  • Is it safe to perform a hot backup of the Liferay database while the server is still running? What are the risks involved, especially concerning data consistency?

Environment

  • Liferay DXP (Quarterly Release)

Resolution

  • Performing a hot backup while the server is running can lead to data inconsistencies if transactions are in progress during the backup process.
  • It is recommended to perform the backup with the application server stopped. If stopping the server isn’t feasible, schedule backups during periods of low activity to minimize the risk of inconsistencies.
  • A possible workaround to minimize inconsistencies during a hot backup is to temporarily remove edit permissions on assets (content, documents, pages, etc.) for specific user roles. After completing the backup, restore the edit permissions and be aware if any background task will be running at this time. 

Additional Information

Refer to the official documentation on Backup Service for more details.

 

Did this article resolve your issue ?

Legacy Knowledge Base