RE: How to migrate a Liferay portal application from one computer to anothe

Anu Narayanan, modified 7 Years ago. Junior Member Posts: 50 Join Date: 4/24/15 Recent Posts

Hi, I have the liferay application on my old pc and would like to move it to my new development environment. I have installed the latest version of the eclipse platform with the liferay plugin. How do I move my application from the old pc to the new one? 

 

thanks,

Anu

thumbnail
Olaf Kock, modified 7 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts
Anu Narayanan:

Hi, I have the liferay application on my old pc and would like to move it to my new development environment. I have installed the latest version of the eclipse platform with the liferay plugin. How do I move my application from the old pc to the new one?

That's what I call "Backup" and "Restore". And it's not even meant sneaky: If you have a proper Backup, you'll have tested if you can restore it on a new computer, that has never seen this installation before.

Therefor: My suggestions: Look up how to backup/restore your Liferay installation and use the migration of your Dev environment as proof that you've indeed replicated to a fully working new environment and didn't miss anything.

 

 

 

 

Anu Narayanan, modified 7 Years ago. Junior Member Posts: 50 Join Date: 4/24/15 Recent Posts

Thanks Olaf. I will try and do that. Can I backup in 6.2 version and restore in version 7?

thumbnail
Jorge Díaz, modified 7 Years ago. Liferay Master Posts: 753 Join Date: 1/9/14 Recent Posts

No, you have to do it in different steps, first update from 6.2 to 7.0 and after that move to the new machine or vice versa, first move and after that, upgrade.

You have information about how to upgrade here: https://dev.liferay.com/discover/deployment/-/knowledge_base/7-0/upgrading-to-liferay-7

 

Anu Narayanan, modified 7 Years ago. Junior Member Posts: 50 Join Date: 4/24/15 Recent Posts

Olaf, I tried to find how to backup and restore but could not find proper documentation. I have a windows environment and SQL Server database. Any help is appreciated.

 

thanks,

thumbnail
Olaf Kock, modified 7 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts
Anu Narayanan:

Olaf, I tried to find how to backup and restore but could not find proper documentation. I have a windows environment and SQL Server database.

Hm. Where did you look? ;)

You might want to start here.

Regarding the upgrade: If you're intending to continue to use SQL Server in 7.0 CE, you'll need Antonio's plugin for database support (or DXP 7.0), otherwise you should convert your database to one of the 7.0 CE supported ones while you're in 6.2, then upgrade.

 

 

Anu Narayanan, modified 7 Years ago. Junior Member Posts: 50 Join Date: 4/24/15 Recent Posts
Olaf Kock:
Anu Narayanan:

Olaf, I tried to find how to backup and restore but could not find proper documentation. I have a windows environment and SQL Server database.

Hm. Where did you look? ;)

You might want to start here.

Regarding the upgrade: If you're intending to continue to use SQL Server in 7.0 CE, you'll need Antonio's plugin for database support (or DXP 7.0), otherwise you should convert your database to one of the 7.0 CE supported ones while you're in 6.2, then upgrade.

 

 

 

Thanks Olaf. I was able to migrate my application from one environment to the other successfully. I want to now upgrade to the version 7.1. Since we are intending to continue with the community edition for now I tried to add the plugin for the database support for the SQL server as suggested by you. I added the

liferay-portal-sqlserverdb-support-1.0.1.jar to the 

Liferay_Home\tomcat-9.0.6\webapps\ROOT\WEB-INF\lib folder and included the

sqljdbc4.jar in the Liferay_Home\tomcat-9.0.6\lib\ext folder. Now I am getting the error 

"com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "SQL Server did not return a response. The connection has been closed."" 

Do I have to do anything on the database side?

I am trying to connect to SQL server 2008.

 

Let me know if I have to open a different discussion thread since this question is on the upgrade.

 

thanks,

Anu

 

 

thumbnail
Alberto Chaparro, modified 7 Years ago. Liferay Master Posts: 560 Join Date: 4/25/11 Recent Posts

Hi Anu,

 

Yes please, open a new thread and attach the upgrade log.

 

Thanks.