You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Somehow use the MONGO_URL ENV var (configurable var name?)
It should've been simple with mongoctl, but I can't get it to copy without indexes. Different MongoDB version and index copy is problematic, even from 2.4.6 to 2.4.1. Need to use mongorestore
`mongoctl dump mongodb://USERNAME:[email protected]:15068/bentpixels`
#doesn't always work `mongoctl restore staging_MONGO_URL dump/DUMPNAME --drop`
`mongorestore --host HOST --port PORT --drop --noIndexRestore -d APPNAME dump/DUMPNAME`
`heroku run rake db:mongoid:create_indexes --remote staging`
The text was updated successfully, but these errors were encountered:
Somehow use the MONGO_URL ENV var (configurable var name?)
It should've been simple with mongoctl, but I can't get it to copy without indexes. Different MongoDB version and index copy is problematic, even from 2.4.6 to 2.4.1. Need to use mongorestore
The text was updated successfully, but these errors were encountered: