Komal Arora
Komal Arora

Reputation: 303

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

Upvotes: 9

Views: 14489

Answers (2)

JJ Roman
JJ Roman

Reputation: 4560

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

Upvotes: 2

Jonny
Jonny

Reputation: 2683

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!

Upvotes: 9

Related Questions