Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-1159

Backup and restore

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.13
    • core, mk
    • None

    Description

      We need a way to backup and restore a repository. I was thinking that the MK impl could expose an interface for this, as the actual implementation would differ quite a bit between e.g. TarMK and MongoMK.

      Also, I think we could leverage the MVCC nature of the MKs and mark a specific revision as "the revision to backup" (regardless of ongoing writes). That would allow us to prevent the ugly situation in JR2, that we need to stop writes for a while to produce a consistent backup.

      The restore in such a scenario would discard revisions that happened after said marker (but still made it into the backup).

      Attachments

        1. OAK-1159-v2.patch
          11 kB
          Alex Deparvu
        2. OAK-1159.patch
          10 kB
          Alex Deparvu

        Issue Links

          Activity

            People

              stillalex Alex Deparvu
              mmarth Michael Marth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: