Need help in proving that Confluence XML export/import worked correctly for my manager.
She wants me to manually confirm that all Confluence pages are there after I imported them to a new domain.
Please help!
thank you!
Hello there!
Olga, to validate what is inside the XML export we would need to manually check Page entries in the file. To open a XML file you can use a plain text editor such as Notepad, Notepad++ or Sublime for example.
A page object inside the XML export should look like this:
<object class="Page" package="com.atlassian.confluence.pages">
<id name="id">6193165</id>
<property name="hibernateVersion">3</property>
<property name="title"><![CDATA[Alita Requirements]]></property>
<property name="lowerTitle"><![CDATA[alita requirements]]></property>
<collection name="bodyContents" class="java.util.Collection"><element class="BodyContent" package="com.atlassian.confluence.core"><id name="id">6258699</id>
</element>
</collection>
<collection name="referralLinks" class="java.util.Collection"><element class="ReferralLink" package="com.atlassian.confluence.links"><id name="id">6717442</id>
</element>
</collection>
<collection name="contentProperties" class="java.util.Collection"><element class="ContentProperty" package="com.atlassian.confluence.content"><id name="id">6225962</id>
</element>
<element class="ContentProperty" package="com.atlassian.confluence.content"><id name="id">6225963</id>
</element>
<element class="ContentProperty" package="com.atlassian.confluence.content"><id name="id">6225964</id>
</element>
<element class="ContentProperty" package="com.atlassian.confluence.content"><id name="id">6225965</id>
</element>
<element class="ContentProperty" package="com.atlassian.confluence.content"><id name="id">6225966</id>
</element>
<element class="ContentProperty" package="com.atlassian.confluence.content"><id name="id">6225967</id>
</element>
</collection>
<property name="version">1</property>
<property name="creator" class="ConfluenceUserImpl" package="com.atlassian.confluence.user"><id name="key"><![CDATA[ff808181677a267f01677a274ea90000]]></id>
</property>
<property name="creationDate">2019-03-15 16:44:25.969</property>
<property name="lastModifier" class="ConfluenceUserImpl" package="com.atlassian.confluence.user"><id name="key"><![CDATA[ff808181677a267f01677a274ea90000]]></id>
</property>
<property name="lastModificationDate">2019-03-15 16:44:25.969</property>
<property name="versionComment"><![CDATA[]]></property>
<property name="contentStatus"><![CDATA[current]]></property>
<collection name="labellings" class="java.util.Collection"><element class="Labelling" package="com.atlassian.confluence.labels"><id name="id">6488068</id>
</element>
</collection>
<property name="space" class="Space" package="com.atlassian.confluence.spaces"><id name="id">6389761</id>
</property>
<property name="position"/><property name="parent" class="Page" package="com.atlassian.confluence.pages"><id name="id">6193158</id>
</property>
<collection name="ancestors" class="java.util.List"><element class="Page" package="com.atlassian.confluence.pages"><id name="id">6193158</id>
</element>
</collecti
For checking the contents, we want to look into Page title or ID:
<id name="id">6193165</id>
<property name="hibernateVersion">3</property>
<property name="title"><![CDATA[Alita Requirements]]></property>
<property name="lowerTitle"><![CDATA[alita requirements]]></property>
You can check here on how to get the page ID:
Other way of doing this is by comparing both instances, the origin of the XML and the destination of that. Then, manually checking pages would work.
There is currently no automated tool to perform this Olga. Let us know your thoughts!
thank you, Diego!
I am not a bit fun of manual comparison - could you give me the steps for instances comparing?
Also, do you know how accurate the export/import tools are? Would export display an error while exporting to xml if anything is wrong or no one knows when the page is not fully copied? Same thing for the import?
Thank you again!
Olga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.