Paul Dowman
Paul Dowman
Thanks, I'll try to find the time to do it in a conditional way.
Thanks! Update for Rails 4 coming as soon as I have time.
Sorry, I'm not maintaining (or even using) this any more, but check @foodforarabbit's fork: https://github.com/foodforarabbit/better_logging/
It looks like you're not explicitly dropping all collections now, which means if one doesn't appear in the data that we're restoring (because it has already been dropped on production)...
Also it looks like it's losing the ability to set a custom port, which is sometimes needed.
OK, the port can just be on the host then if you prefer that. > If the staging DB has additional collections that were completely dropped from the production DB...
What I'm saying is that `mongorestore` doesn't drop collections that no longer exist.
@salindne this is so close, thank you! There are a couple of tiny bits of feedback, would you be able to address those and then we can merge? 🙏
There will be a PDF version. I'll update this PR when we have it.
This PR is updated with the PDF version of the report now, ready to merge.