Steps for Export and Import in Liferay - export

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

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!

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

Related

2sxc - Content/Apps is not being imported

I was trying to migrate specific 2sxc pages to other environments. I've tried the export and import pages feature in DNN but the content/apps has not been imported.
DNN version: 08.04.02
2sxc version: 12.18.0
Error shows:
System Exception Data: content/apps has not been imported yet
This is the default behavior. By exporting/importing a site, the 2sxc Data is not included, as the internal data model can't reliably survive the Dnn data model format.
So after doing this, you should export any Apps (incl. the Content App) and select the checkbox to preserve content-blocks. Then import them again. It's described in detail https://2sxc.org/en/learn/copy-duplicate-an-entire-site

WordPress menus lost when exporting local database and importing to server database

I have a local WordPress site running on MySQL. I wanted to move it to a server for testing and deployment. In addition to migrating new/changed code and media files, I exported the database from my local machine to a .sql file using Sequel Pro on Mac. Then I changed all URLs in the export to match the URL of the server. Then I imported it to the server database.
Everything's fine. No errors. Except the menus I created on my local machine are not showing up on the server. I'm seeing recommendations for plugins to export menus and import them on the server. But that seems silly to me. Aren't menus defined in the database? Isn't everything defined there in terms of content, options, settings, etc.? Why would I need to export/import menus and nothing else?
When you export and import the database of the wordpress site, the menus also include in it.
You just need to check in your admin panel the menu will be there. You just need to assign that menu for appropriate menu location like primary or which you have created, like this screenshot https://prnt.sc/1wp2gvd
The answer was that I was using a Pantheon.io-based upload/import feature to upload and import my .sql file. When I instead used Sequel Pro on MacOS to export my local database, connect to and import it to Pantheon.io, everything came through.

Is there any way to import content from SQL to wordpress in wp-admin panel?

I have a MySQL database file from my older WordPress website, and I want to import just the content to my new website. Right now, I don't have access to cPanel. Can I import the content using wp importer, or a plugin?
If you have wordpress data then creating a plugin is not good idea.
Simple open your old admin dashboard,
Export the data for either post or pages.
Import in new website using WP Importer.

yii2 export menu do not downloading file on remote server

I using extention export menu from kartik. And it's work fine.
But only on my local OpenServer. When I pushing it on remote web server it is dont working.
I click to export button - choose exel 2007 format - opening blank windows where I have msg "file will be genereted" - click proccess - "generation..." - and here I receive msg "That web page is not available err_invalid_responde".
I do not know how debug this?
You should enable debug module : http://www.yiiframework.com/doc-2.0/guide-tool-debugger.html
But I think it is simply a dependency problem, you need xml and xmlwriter php extensions to be able to use excel export, you should check phpinfo() for these extensions.

Is possible to import the same configurations and portlets to another portal?

Best, I have a situation that liked clarifies the following, I have a portal that has 3 sites and other portal 2 with the same number of sites. Each portal is an independent, but now one of the portal sites one will be inserted in the other organization (Portal 2) and I'm not able to do this migration. How do I export and import to the other Portal (2).
thank you
https://www.dropbox.com/s/wsbaov1fqza3qva/Untitled.png
If i understand you right, you want the site created in Portal 1 to be migrated to Portal 2. IF so this should be do able through Site Export / Import features.
Go to control panel > Portal 1, site (that needs to be exported) > manage pages > export tab > select appropriate options (data, permissions, themes, etc.) Make sure which option you select before exporting. Once the file is exported.
Again go to control panel > Portal 2, Site (that needs to be imported) > manage pages > import tab, select the file that was exported and select the same options that were selected while exporting and click on save in import to complete the migration.
Hope this helps !

Resources