Wiki source code of Back Up the Advanced Bookmarks Solr Core
Last modified by Eleni Cojocariu on 2026/11/11 11:02
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | Copy the Solr core of [[Advanced Bookmarks>>doc:documentation.extensions.admin.advanced-bookmarks.WebHome]], which XWiki cannot rebuild from its database. Back it up together with the database, so that both copies match. | ||
| 2 | |||
| 3 | 1. Stop XWiki. | ||
| 4 | 1. Archive the core directory, under the permanent directory of XWiki:((( | ||
| 5 | {{code language="shell"}} | ||
| 6 | # /usr/local/xwiki/data is the permanent directory of the XWiki Docker image | ||
| 7 | tar czf advancedbookmarks-core.tar.gz -C /usr/local/xwiki/data/store/solr advancedbookmarks_9 | ||
| 8 | {{/code}} | ||
| 9 | ))) | ||
| 10 | 1. Start XWiki. | ||
| 11 | 1. The archive holds the core:((( | ||
| 12 | {{code language="shell"}} | ||
| 13 | $ tar tzf advancedbookmarks-core.tar.gz | head -n 4 | ||
| 14 | advancedbookmarks_9/ | ||
| 15 | advancedbookmarks_9/data/ | ||
| 16 | advancedbookmarks_9/data/snapshot_metadata/ | ||
| 17 | advancedbookmarks_9/data/tlog/ | ||
| 18 | {{/code}} | ||
| 19 | ))) |