Uploaded image for project: 'MongoDB CLI Tools'
  1. MongoDB CLI Tools
  2. TOOLS-1915

Not able to take full dump using mongodump on mongod service

    XMLWordPrintable

    Details

    • Type: Question
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: 3.4.6
    • Fix Version/s: None
    • Component/s: mongodump
    • Labels:
      None

      Description

      Hi,

      I am trying take full backup with mondump on only secondary to avoid the load on primary.
      but i got the below error while taking mongodump with --oplog

      Failed: error counting <<db>>.<<collections-view>>: Command on view must be executed by mongos

      i would like to take the full DBs backup with mongodump and also from secondary node only.
      let me know is there any other commands or procedure to use for this.

      Regards,
      Vinay

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                david.golden David Golden
                Reporter:
                vinayalg vinay kumar bysani
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: