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

Backup/Restore of individual databases/collections with FS backups

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: Usability, WiredTiger
    • None
    • Storage Execution
    • Fully Compatible
    • 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

      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.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            alex.komyagin@mongodb.com Alexander Komyagin (Inactive)
            Votes:
            11 Vote for this issue
            Watchers:
            36 Start watching this issue

              Created:
              Updated:
              Resolved: