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

Add generic support for additional flags to db.copyDatabase wrapper

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Gone away
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Shell

      Description

      The db.copyDatabase shell command provides a convenient wrapper around the copydb command.

      However, there is currently no support for setting the slaveOk flag.

      This prevents you from being able to do a database copy from secondaries in a replica set.

      At this stage, the only missing flag is slaveOk, however, this doesn't preclude the addition of additional flags into copydb in the future - hence, generic support for optional flags would be very useful.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-platform DO NOT USE - Backlog - Platform Team
              Reporter:
              victor.hooi Victor Hooi
              Participants:
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: