Import XWiki Pages

Last modified by Eleni Cojocariu-testing account on 2026/08/21 21:47

Steps

To import wiki Pages from a XAR package, with the options that decide what happens to Pages the wiki already has:

  1. Administer your wiki.
  2. Select "Content", and then select "Import" from the dropdown.

    import-menu-item.png

  3. Click the "Choose File" button and select the XAR package.

    package-imported.png

  4. Click the package listed under "Available packages" to display its "Package Content".

    package-content.png

  5. Select the Pages to import. Every Page is selected by default: use "none" and "all", or the box with the Tick icon in front of a Page.

    selected-pages.png

  6. Choose what action to take "when a Page already exists in the wiki".

    options-importing-package.png

  7. Check "Import as backup package" if the imported Pages have to keep their authors.

    backup-package.png

  8. Click "Import".
  9. Check the import report, which counts the Pages installed, skipped and in error, and lists every installed Page as a link to it in the wiki.

    import-result.png

FAQ

What should I do if my wiki is empty and this is my first import?

If your wiki is empty and this is your first import, you will need to log in as a superadmin to perform the first import, as there are no users defined in the wiki at this time.

Can imports affect rights?

Yes, an imported package can carry its own rights configuration. If your own rights change, log out and log in again to apply them.

What should I do if I get a 'Java heap space Out Of Memory' exception?

If you get a 'Java heap space Out Of Memory exception' you'll need to increase the memory allocated to the JVM running XWiki.

How to handle imports for Pages with Programming Rights?

For imports for Pages with Programming Rights you need to ensure that the user performing the import has the necessary Programming Rights.

More

To find more about the current topic, you can search or use the table below and filter the columns to narrow your choices.

Related

Get Connected