mongohq / seed Goto Github PK
View Code? Open in Web Editor NEWCopy a database from one mongodb replica set to another database
License: BSD 3-Clause "New" or "Revised" License
Copy a database from one mongodb replica set to another database
License: BSD 3-Clause "New" or "Revised" License
Unable to pull log4go from code.google.com/p/log4go since code.google has been shutdown.
Will likely need a new source to update dependencies/imports with.
When trying to replay the oplog on a fairly large database, seed
times out before reaching the end of the collection (due to no indexes). Enabling the http://godoc.org/labix.org/v2/mgo#Query.LogReplay feature seems to fix this.
We're getting an error saying:
failed insert on collection my_collection: EOF
Which is here in the code
This seems to happen only on collections that contain large (>1MB) binary objects inside their documents.
Any thoughts? Potential buffer size issue?
Hey,
I'm having this error after few minutes running it:
[12/19/14 00:22:39] [EROR] insert error (read tcp 127.0.0.1:27017: i/o timeout)
[12/19/14 00:22:39] [CRIT] Failed: failed insert on collection archived: read tcp 127.0.0.1:27017: i/o timeout
And so the script stops.
Any idea?
Thanks
Per a conversation with Kurt at MongoHQ:
Seed needs to be brought up to date to work with 2.6.x (and potentially even our oplog users) before it will work out of the box against your DB.
This is because MongoHQ doesn't provide users access to "admin", and seed requires access to admin.
At present, seed works to push data INTO MongoHQ, but I think in being good stewards of data portability this library should be capable of pulling data FROM MongoHQ.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.