Add targeted test to perform a selective restore with magic restore

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • v8.0
    • Repl 2024-08-05, Repl 2024-09-02, Repl 2024-09-16, Repl 2024-09-30
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We should write a targeted test that performs a selective restore with magic restore. This ticket should test both replica sets and sharded clusters. We'll need to filter the backup cursor results on the required and ns fields to only retrieve files we want to restore, and then ensure only the filtered collections exist on the restored node. For config servers being restored, we'll need to use the collectionsToRestore magic restore parameter to ensure we run _configsvrRunRestore correctly.

              Assignee:
              Ali Mir
              Reporter:
              Ali Mir
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: