Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-23573

Backup/Restore of individual databases/collections with FS backups

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 6.0 Required
    • Component/s: Usability, WiredTiger
    • Labels:
      None
    • Sprint:
      Execution Team 2021-01-11, Execution Team 2021-01-25, Execution Team 2021-02-08, Execution Team 2021-02-22, Execution Team 2021-03-08, Execution Team 2021-03-22, Execution Team 2021-04-05, Execution Team 2021-04-19
    • Case:

      Description

      For big deployments where mongodump/mongorestore approach is not feasible and backups are taken at FS level, we need way to restore individual databases and/or collections to the original system and to some other, new system. This feature is critical for success of those users who have multi-TB multi-tenant clusters and only want to restore a part of it.

      With MMAP you could do the per-db backup/restore when directoryPerDb is used, but we no longer have the ability to use that approach in WT as WT metadata files are global for all namespaces. It will segfault if some *.wt files are not present.

      However, with WT we have the advantage of individual files per namespace, so it should be possible to extract them and their metadata from an existing dbpath. Perhaps we will need a separate tool for that.

        Attachments

          Issue Links

            Activity

              People

              Votes:
              10 Vote for this issue
              Watchers:
              34 Start watching this issue

                Dates

                Created:
                Updated: