I have 2 xwiki and to debug some revisions, I xar export a page with lot of history and import xar file in the new xwiki … but I noticed that document history was empty!
During import I tried these options:
add new entry
overwrite history
and of course “import like a backup”
Finally, I checked my xar file (with unzip) and I didn’t found history revisions…
Are there a way to export a document with all history revisions?
And by the way, I didn’t managed to compare a recent doc version with a very old one because the issue pagination. Are there a way to do this with some URI parameters?
to export a page/space WITH full history I must use this extension https://extensions.xwiki.org/xwiki/bin/view/Extension/Admin%20Tools%20Application (Export/Import Tools : Several tools to import and export spaces and pages. It includes Large Import and Large Export applications, to be used when the database is to big to be exported from the wiki administration.)
the target xar file contains full history.
I didn’t found another way to export a page with full history.
When I import xar file on /XWiki/XWikiPreferences?editor=globaladmin§ion=Import import feature propose:
add new entry
overwrite history
reinit history to 1.1
and one more, this “confusing” one:
import like a backup
Why confusing ?
because what difference between “overwrite history” and “import like a backup”
and because if I select “import like a backup” and “reinit history to 1.1” then it is note a backup anymore IMO
Still I didn’t managed to compare a recent doc version with a very old one because the issue pagination.