Hi everyone,
I’m looking for advice on migrating data between XWiki instances.
We’ve been using XWiki for several years. During this time we:
-
upgraded across multiple versions,
-
tested various extensions,
-
and eventually accumulated quite a few dependency issues that now make further upgrades difficult.
We’ve decided to set up a new “clean” instance and migrate the following:
-
all spaces (with content),
-
all users,
-
access rights (page / space permissions).
The goal is to start fresh with only the necessary extensions and updated security policies.
Important clarification:
-
we do NOT need full history,
-
we only need to preserve:
-
the original creator / last editor,
-
the original creation and last modification timestamps.
-
Problem:
The standard export (XAR / space export) does not work for us because during import:
-
the author is replaced with the current user,
-
timestamps are overwritten.
Questions:
-
Is there a way to export/import data while preserving:
-
original creator / last author,
-
original creation / modification timestamps?
-
-
Can this be achieved via configuration, or does it require a custom approach (e.g., using the REST API)?
-
What would be the recommended best practice for this kind of migration (without history, but with correct metadata)?
Any advice or real-world experience would be greatly appreciated