Re:Newsblur runs into MongoDB bug – can't replicate DB
by base698 on Thursday March 21, 2013 @02:57PM
(#5417839)
Why didn't you just take a snapshot of the DB and start that up before adding it as a replica set member? I've had better luck doing that.
[ Parent
| on HN ]
Re:Newsblur runs into MongoDB bug – can't replicate DB
by conesus on Thursday March 21, 2013 @02:59PM
(#5417855)
Because that server isn't in the cloud. It's on leased hardware, so no ability to snapshot. Plus, I like it when I can replicate my data without worry. I don't want to have to rely on block-level replication.
Re:Newsblur runs into MongoDB bug – can't replicate DB
by LukeShu on Thursday March 21, 2013 @03:47PM
(#5418348)
base698 isn't saying take a snapshot of the server, he's saying take a snapshot of the DB; find the directory it is stored in and `cp` that.
Re:Newsblur runs into MongoDB bug – can't replicate DB
by mrkurt on Thursday March 21, 2013 @03:56PM
(#5418406)
That's not a good snapshot unless you're running LVM or can afford to suspend writes and fsync + lock.