Uploaded image for project: 'MongoDB ETL Tools'
  1. MongoDB ETL Tools
  2. TOOLS-1163

mongodump/restore mongoexport/import and slashes in collection names

    XMLWordPrintable

    Details

    • Backport Requested:
      v4.0
    • Sprint:
      Server Tools 15 (6/3/16), Server Tools 16 (6/24/16), Server Tools 17 (7/15/16)
    • Case:

      Description

      Not exists restrictions about slash character in collection names (url documentation https://docs.mongodb.com/manual/reference/limits/), and we manage correcty inside mongodb.
      But if we need to backup/restore, fail and we can lost data.
      db.runCommand(

      {"create":"test/col"}

      )

      Example mongodump:
      mongodump --db test -o test
      Failed: "test.test/col" contains a path separator '/' and can't be dumped to the filesystem

      If we use mongoexport:
      mongoexport --db test --collection 'test/col' -o test
      exported 0 records

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                backlog-server-tools Backlog - Server Tools Team
                Reporter:
                cesarjorgemartinez Cesar
              • Votes:
                0 Vote for this issue
                Watchers:
                22 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: