-
Type: Task
-
Resolution: Cannot Reproduce
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
Environment:Ubuntu 12.04 Server 64 bit
*Location*: http://docs.mongodb.org/manual/tutorial/copy-databases-between-instances/
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.57 Safari/537.36
*Screen Resolution*: 1920 x 1080
*repo*: docs
*source*: tutorial/copy-databases-between-instances
Ubuntu 12.04 Server 64 bit *Location*: http://docs.mongodb.org/manual/tutorial/copy-databases-between-instances/ *User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.57 Safari/537.36 *Screen Resolution*: 1920 x 1080 *repo*: docs *source*: tutorial/copy-databases-between-instances
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")
> 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.