JBoss.orgCommunity Documentation

Chapter 35. Use external backup tool

35.1. Repository suspending
35.2. Backup
35.3. Repository resuming

To have the repository content consistent with the search index and value storate, the repository should be suspened. It means all working threads are suspended until resume operation performed. Index will be flushed.

JCR provides ability to suspend repository via JMX.

To suspend repository just need to invoke suspend() operation. The returned result will be "suspended" if everything passed successfully.

The result "undefined" means not all components successfully suspended, check console to see stacktraces.

Now we can backup content manually or using third part software. We need to backup:

Once backup is done need to invoke resume() operation to switch repository back to online. The returned result will be "online".