Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1910

Comment on: "manual/tutorial/copy-databases-between-instances.txt"

    • Type: Icon: Task Task
    • Resolution: Cannot Reproduce
    • Priority: Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • Affects Version/s: None
    • Component/s: None
    • Environment:

      My Mongod with the configuration of qoutaFiles 3.
      I create a database(mydb) and insert 0.25GB documents to it.(as following shown)
      > show dbs
      admin 0.0625GB
      mydb 0.25GB
      local 0.03125GB

      Then I try to copy database from "mydb" to a new db named "newmydb".(as following shown)
      >db.copyDatabase("mydb ","newmydb","127.0.0.1:30001")

      { "ok" : 1 }

      > show dbs
      admin 0.0625GB
      mydb 0.25GB
      local 0.03125GB
      newmydb 0.5GB
      test 0.0625GB

      I found, the database size is increased ( 0.25GB -> 0.5GB) and exceeded the quota limit.
      Therefore, I want to know why "db.copyDatabase" ignored the quota limitation.

            Assignee:
            Unassigned Unassigned
            Reporter:
            heart.1416@gmail.com Hsuan Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              10 years, 35 weeks, 6 days ago