I have a Liferay portal that has been configured to use a permanent file system for jackrabbit.
It seems that this save mode creates a lot of files in the file system (still something like 113'000), and I slowly reach the quota for the number of files on the server.
Then I would like to go to the database . I know how to configure it , but I do not know how to migrate existing content .
Exporting and importing various libraries (documents, images, etc.) sounds like a lot of work and is very error prone, especially because it is a multi-user deployment. Also, I don’t know if it will recreate the exact exact URL for the documents, which is important to me.
Short update:
I managed to upgrade to Liferay 6. However, there is no way to transfer data from a file with a file system to a database from Liferay; what the data migration panel offers is to transfer from the jcr hook to another persistent hook.
My initial problem was not to have data in the database, but to reduce the number of files in the file system (quota limit). Then I switched to FileSystemHook.
Here is the number of files ( find . | wc -l).
- JCRHook: 107566
- FileSystemHook: 2810.
, Jackrabbit ...