This article provides a checklist when you move your existing data from an old Liferay environment to a new one.
Resolution
- For database, please backup the database in old environment and import it to the new environment.
- For documents, they are stored under
[LIFERAY_HOME]/data/document_libraryby default.Please copy all of the files to the same directory in the new environment.
If you have configured new directory in System Settings, depending on the defined store
dl.store.impl=in yourportal-ext.properties, please make sure the documents can be accessed in the new environment. - For your customized configurations, please copy them to the new environment. The common configuration files are listed, but not limited to the following:
-
portal-ext.propertiesThe database connection related statements and the dl store related statements might need to be changed to use the correct one in your new environment.
- osgi related configurations
If there is any customized configurations in the osgi/configs folder, please copy them to your new environment.
-
- For all of your customizations, please deploy them on to the new server.
- After moving these contents, please perform a full re-index in Control Panel > Server Administration in your new environment.