09-22-2021 12:05 AM
Need suggestions,
we have a instance of alfresco 5.2.g which installed using distribution long time ago that uses Mysql. we are planning migrate to postgresql.
I looked into backup and restore process document. And want to check if that will work straightway
If we just dump db and restore it in postgresql will it work? Would there be any specific changes needed to on postgresql in terms of indexes or anything if we move to postgresql.
Is there some tool that can be used to do this type of migration?
We are clear on setting up database and user+permissions like we do for intial setup.
10-13-2021 10:42 AM
If we just dump db and restore it in postgresql will it work?
Yes, it should work but please consider to use a consistent backup of the Alfresco storage, I mean not only the database but also the contentstore where Alfresco is managing files in the file system.
You can create a consistent backup of an Alfresco installation in the following ways:
In any case you have only to translate the exported database in a different ER dialect and then you can import it in the new database server. After that you only need to add the new JDBC driver in the tomcat/lib folder and readdress correctly the JDBC endpoint in the alfresco-global.properties.
Is there some tool that can be used to do this type of migration?
Not specifically provided by Alfresco but in the market you can find commercial tools that allows you to export from a specific dialect and then import in a different dialect.
10-13-2021 10:42 AM
If we just dump db and restore it in postgresql will it work?
Yes, it should work but please consider to use a consistent backup of the Alfresco storage, I mean not only the database but also the contentstore where Alfresco is managing files in the file system.
You can create a consistent backup of an Alfresco installation in the following ways:
In any case you have only to translate the exported database in a different ER dialect and then you can import it in the new database server. After that you only need to add the new JDBC driver in the tomcat/lib folder and readdress correctly the JDBC endpoint in the alfresco-global.properties.
Is there some tool that can be used to do this type of migration?
Not specifically provided by Alfresco but in the market you can find commercial tools that allows you to export from a specific dialect and then import in a different dialect.
10-21-2021 10:21 AM
Thanks @openpj for answering. We were able to make this work already on the similar lines as you have mentioned.
Explore our Alfresco products with the links below. Use labels to filter content by product module.