Mongorestore/Import should support the optional ways in which users want data restored into a collection

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None

      1. error out if collection already exists (preferred default, --name?)
      2. explicitly choose --drop
      3. merge input into existing collection skipping duplicate _id records ( --replace?)
      4. merge input into existing collection replacing duplicate _id records (--upsert)
      5. skip collection that already exists (--skipCollectionExists?)

            Assignee:
            David Golden
            Reporter:
            Osmar Olivo (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: