This article gives an overview of a backup & disaster recovery environment that is necessary when starting a Liferay Digital Experience Platform (DXP) 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 DXP installation is covered within the DXP 7.0, DXP 7.1, and DXP 7.2 Deployment Guides.
To summarize, please remember to make a copy of the following:
- Liferay Database
-
Document_Libraryand File System Data or the location of theDocument_Libraryfiles - Relevant app server settings
- Portal-ext.properties file(s)
- Any customization, such as themes, custom apps and modules
- Search Indexes (in some cases this might take days to create)
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 platform because failing to do so will cause conflicts and errors due to missing files.