Try the pymongo docs for the command method - it talks about the
different ways to call the method.
> --
> You received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to
> mongodb-user...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mongodb-user?hl=en.
>
This is such a common question, and such a common thing to want to do,
that it would be really nice if all of the various drivers had
universal top-level support for something like conn.lock and
conn.unlock.
It should not be this difficult to figure out how to safely back up
the db.
--
- Adam
----------
If you liked this email, you might also like:
"Here's a little bookmarklet for turning github into rdoc"
-- http://workstuff.tumblr.com/post/1036575859
"Sous Vide French Toast"
-- http://www.aquick.org/blog/2010/09/22/sous-vide-french-toast/
"Sous Vide French Toast"
-- http://www.flickr.com/photos/fields/5012057777/
"fields: 'Mid-App Collision': when two people are both typing on their phones o..."
-- http://twitter.com/fields/statuses/25413388498
----------
** I design intricate-yet-elegant processes for user and machine problems.
** Custom development project broken? Contact me, I can help.
** Some of what I do: http://workstuff.tumblr.com/post/70505118/aboutworkstuff
[ http://www.adamfields.com/resume.html ].. Experience
[ http://www.morningside-analytics.com ] .. Latest Venture
[ http://www.confabb.com ] ................ Founder
On Fri, Sep 24, 2010 at 08:24:25PM -0400, Michael Dirolf wrote:This is such a common question, and such a common thing to want to do,
> conn.admin.command("fsync", lock=True)
>
> Try the pymongo docs for the command method - it talks about the
> different ways to call the method.
that it would be really nice if all of the various drivers had
universal top-level support for something like conn.lock and
conn.unlock.
It should not be this difficult to figure out how to safely back up
the db.
Also:
http://jira.mongodb.org/browse/RUBY-184
--
- Adam
----------
If you liked this email, you might also like:
"Here's a little bookmarklet for turning github into rdoc"
-- http://workstuff.tumblr.com/post/1036575859
"Sous Vide French Toast"
-- http://www.aquick.org/blog/2010/09/22/sous-vide-french-toast/
"Sous Vide French Toast"
-- http://www.flickr.com/photos/fields/5012057777/
"fields: They finally found a good use for Elmo: http://bit.ly/aCUGpf"
-- http://twitter.com/fields/statuses/25688211830