Legacy Knowledge Base
Published Sep. 10, 2025

Creating a Backup/Disaster Recovery Environment for Liferay Portal

Written By

Randall Hidajat

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.

This article gives an overview of a backup/disaster recovery environment that is necessary when starting a Liferay Portal project. This backup will often be referenced by Liferay Support Engineers as it is crucial to have a stable and working backup of the production environment to recover with if the production instance becomes unusable.

Resolution

Backing up a Liferay Portal installation is covered within the Portal 6.2 User Guide and the Portal 6.1 User Guide.

To summarize, please remember to make a copy of the following:

  1. Liferay Database
  2. Document Library/File System Data or the location of the Document Library files
  3. Relevant app server settings
  4. Portal-ext.properties file(s)
  5. Any customization,  such as themes, hooks or custom plugins/portlets
  6. The Image Gallery repository (if using a Liferay Portal version prior to 6.2)

Each of these should be backed up on a regular basis.

Additional Information

Please remember that regardless of where the Document Library is stored—either in the database or file system—the backup of the Document Library needs to be in sync with the backup for the portal as failing to do so will cause conflicts and errors due to missing files.

Did this article resolve your issue ?

Legacy Knowledge Base