Reputation: 13
I am using Mogodb in my rails app as my database how take the snap of my development db and stick to my test db in local
Upvotes: 1
Views: 153
Reputation: 1170
In mongo console db.copyDatabase('bd_dev', 'bd_test')
db.copyDatabase('bd_dev', 'bd_test')