Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Steps for Export and Import in Liferay

I have built a website in Liferay using eclipse IDE.

Please tell me the step by step procedure for export/import or publishing website from development machine to deployment machine. .

Thanks

like image 399
Komal Arora Avatar asked Aug 24 '11 05:08

Komal Arora


2 Answers

There are two options available to you:

1) Backup your development database & restore it on your production database (make sure all additional portlets are deployed on the production box as well).

2) use Liferay's export / import functionality found

  • Go to Control Panel
  • Go to the community you want to export
  • Click actions -> Manage Pages
  • Go to Export / Import
  • Select all options for Export
  • Save the resulting LAR file somewhere convient
  • Upload the LAR file to your production server
  • Follow the previous steps but go into Import
  • Select any options you require
  • Click "Import"
  • Voila, you're done!
like image 94
Jonny Avatar answered Sep 24 '22 02:09

Jonny


For the record in Liferay 6.1 the export in control panel under "site pages".

like image 38
JJ Roman Avatar answered Sep 23 '22 02:09

JJ Roman