Back Up the Advanced Bookmarks Solr Core

Last modified by Eleni Cojocariu on 2026/11/11 11:02

Steps

Copy the Solr core of Advanced Bookmarks, which XWiki cannot rebuild from its database. Back it up together with the database, so that both copies match.

  1. Stop XWiki.
  2. Archive the core directory, under the permanent directory of XWiki:
    # /usr/local/xwiki/data is the permanent directory of the XWiki Docker image
    tar czf advancedbookmarks-core.tar.gz -C /usr/local/xwiki/data/store/solr advancedbookmarks_9
  3. Start XWiki.
  4. The archive holds the core:
    $ tar tzf advancedbookmarks-core.tar.gz | head -n 4
    advancedbookmarks_9/
    advancedbookmarks_9/data/
    advancedbookmarks_9/data/snapshot_metadata/
    advancedbookmarks_9/data/tlog/

FAQ

How do I back up a remote Solr server?

Back up the advancedbookmarks core with the backup procedure of the Solr server.

Can I back up the bookmarks without stopping XWiki?

Yes, export all the bookmarks of each wiki; the file can be imported again.

Why does the directory name end with 9?

The suffix is the major version of Solr used by XWiki.

Get Connected