Skip to content

Instantly share code, notes, and snippets.

@dariusf
Created May 30, 2014 03:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dariusf/60f250b1e7a4e0aa2373 to your computer and use it in GitHub Desktop.
Save dariusf/60f250b1e7a4e0aa2373 to your computer and use it in GitHub Desktop.
connected to: 127.0.0.1
2014-05-30T11:33:24.602+0800 /home/darius/coco/dump/coco/thang.types.bson
2014-05-30T11:33:24.602+0800 going into namespace [coco.thang.types]
2014-05-30T11:33:24.603+0800 Created collection coco.thang.types with options: { "create" : "thang.types", "flags" : 1 }
2014-05-30T11:33:27.246+0800 Progress: 112876218/140627061 80% (bytes)
1075 documents found
2014-05-30T11:33:28.071+0800 Creating index: { key: { _id: 1 }, name: "_id_", ns: "coco.thang.types" }
2014-05-30T11:33:28.093+0800 Creating index: { unique: true, key: { slug: 1 }, name: "slug index", ns: "coco.thang.types", sparse: true, background: true, safe: null }
2014-05-30T11:33:28.099+0800 Creating index: { unique: true, key: { original: 1, version.major: -1, version.minor: -1 }, name: "version index", ns: "coco.thang.types", background: true, safe: null }
2014-05-30T11:33:28.107+0800 Creating index: { key: { index: 1, _fts: "text", _ftsx: 1 }, name: "search index", ns: "coco.thang.types", sparse: true, language_override: "searchLanguage", background: true, safe: null, weights: { name: 1 }, default_language: "english", textIndexVersion: 2 }
2014-05-30T11:33:28.178+0800 /home/darius/coco/dump/coco/media.files.bson
2014-05-30T11:33:28.178+0800 going into namespace [coco.media.files]
2014-05-30T11:33:28.317+0800 Created collection coco.media.files with options: { "create" : "media.files", "flags" : 1 }
2027 documents found
2014-05-30T11:33:28.339+0800 Creating index: { key: { _id: 1 }, name: "_id_", ns: "coco.media.files" }
2014-05-30T11:33:28.367+0800 Creating index: { key: { filename: 1 }, name: "filename_1", ns: "coco.media.files" }
2014-05-30T11:33:28.373+0800 Creating index: { key: { _fts: "text", _ftsx: 1 }, name: "search index", ns: "coco.media.files", sparse: true, language_override: "searchLanguage", background: true, safe: null, weights: { metadata.description: 1, metadata.name: 1 }, default_language: "english", textIndexVersion: 2 }
2014-05-30T11:33:28.409+0800 Creating index: { unique: true, key: { metadata.path: 1, filename: 1 }, name: "file path index", ns: "coco.media.files", sparse: true, background: true }
2014-05-30T11:33:28.418+0800 /home/darius/coco/dump/coco/level.components.bson
2014-05-30T11:33:28.419+0800 going into namespace [coco.level.components]
2014-05-30T11:33:28.476+0800 Created collection coco.level.components with options: { "create" : "level.components", "flags" : 1 }
2396 documents found
2014-05-30T11:33:28.715+0800 Creating index: { key: { _id: 1 }, name: "_id_", ns: "coco.level.components" }
2014-05-30T11:33:28.747+0800 Creating index: { unique: true, key: { original: 1, version.major: -1, version.minor: -1 }, name: "version index", ns: "coco.level.components", background: true, safe: null }
2014-05-30T11:33:28.768+0800 Creating index: { unique: true, key: { slug: 1 }, name: "slug index", ns: "coco.level.components", sparse: true, background: true, safe: null }
2014-05-30T11:33:28.772+0800 Creating index: { key: { index: 1, _fts: "text", _ftsx: 1 }, name: "search index", ns: "coco.level.components", sparse: true, language_override: "searchLanguage", background: true, safe: null, weights: { description: 1, name: 1, system: 1 }, default_language: "english", textIndexVersion: 2 }
2014-05-30T11:33:28.945+0800 /home/darius/coco/dump/coco/media.chunks.bson
2014-05-30T11:33:28.945+0800 going into namespace [coco.media.chunks]
2014-05-30T11:33:29.002+0800 Created collection coco.media.chunks with options: { "create" : "media.chunks" }
2014-05-30T11:33:31.425+0800 Progress: 77096710/219058797 35% (bytes)
2014-05-30T11:33:34.055+0800 Progress: 160358749/219058797 73% (bytes)
2587 documents found
2014-05-30T11:33:35.918+0800 Creating index: { key: { _id: 1 }, name: "_id_", ns: "coco.media.chunks" }
2014-05-30T11:33:35.919+0800 Creating index: { key: { files_id: 1, n: 1 }, name: "files_id_1_n_1", ns: "coco.media.chunks" }
2014-05-30T11:33:35.937+0800 /home/darius/coco/dump/coco/levels.bson
2014-05-30T11:33:35.937+0800 going into namespace [coco.levels]
Restoring to coco.levels without dropping. Restored data will be inserted without raising errors; check your server log
2014-05-30T11:33:38.098+0800 Progress: 92598117/184175535 50% (bytes)
1811 documents found
2014-05-30T11:33:40.029+0800 Creating index: { key: { _id: 1 }, name: "_id_", ns: "coco.levels" }
2014-05-30T11:33:40.061+0800 Creating index: { unique: true, key: { original: 1, version.major: -1, version.minor: -1 }, name: "version index", ns: "coco.levels", background: true, safe: null }
Error creating index coco.levels: 85 err: "Index with name: version index already exists with different options"
./importdb: line 3: 20522 Aborted (core dumped) /home/darius/coco/coco/bin/mongo/mongorestore /home/darius/coco/dump
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment