Page 1 of 1

How to preserve file and directory permissions when migrating from 6.3.12 to 7.0.2?

PostPosted:Thu Jun 18, 2026 9:04 am
by taihung
We are currently using OpenKM version 6.3.12 and are planning to upgrade to version 7.0.2.

Based on the migration documentation, we understand that the process involves exporting the repository from version 6.3.12 first and then importing it into the new 7.0.2 environment.

Our question is: How can we preserve the original permission settings for the files and directories during this import process into version 7.0.2?

Are there any specific upgrade documentations, guides, or best practices that provide instructions or guidelines regarding permission migration?

Thank you in advance for your help!

Re: How to preserve file and directory permissions when migrating from 6.3.12 to 7.0.2?

PostPosted:Mon Jun 22, 2026 8:27 am
by jllort
Right now, the simplest approach is to perform a full export (which exports the files along with their versions, metadata, and security settings) and then import it using the same option in version 7.

There is another mechanism that we have not yet had time to document, and it is considerably more complex (database migration combined with copying files from one file system to another). I would not recommend it unless you have a very large volume of data and the time required for the export and import process becomes an issue.

The previous method is slower in terms of execution time, but it is much easier to manage.

Re: How to preserve file and directory permissions when migrating from 6.3.12 to 7.0.2?

PostPosted:Thu Jul 02, 2026 3:57 am
by happeneating
taihung wrote: Thu Jun 18, 2026 9:04 am We are currently using OpenKM version 6.3.12 and are planning to upgrade to version 7.0.2.

Based on the migration documentation, we understand that the process involves exporting the repository from version 6.3.12 first and then importing it into the new 7.0.2 environment.

Our question is: How can we preserve the original permission settings for the files and directories during this import process into version 7.0.2?

Are there any specific upgrade documentations, guides, or best practices that provide instructions or guidelines regarding permission migration?

Thank you in advance for your help!
It's truly valuable information to share. A suitable upgrade version leads to a better experience.

Re: How to preserve file and directory permissions when migrating from 6.3.12 to 7.0.2?

PostPosted:Mon Jul 06, 2026 6:47 am
by jllort
If you export the repository ( Administration > Tools > Repository export ) with the option full, it creates a json files with security, metadata, hierarchy etc... Then when importing from version 7.0 you must also remember to choose the full option again.