Visual-Communications / fair-housing-pledge

https://fairhousingpledge.com/
0 stars 0 forks source link

Database migration before November 10 #61

Closed paulshryock closed 3 years ago

paulshryock commented 4 years ago

I received an email from Heroku today informing us that the mLab extension is going away on November 10, which means that the MongoDB database will be deleted at that time.

This means by November, you'll need to create a different MongoDB database, hosted by a different provider such as https://www.mongodb.com/ or ObjectRocket.

Then you would migrate all the data from the old database to the new database, and update the Heroku database environment variable, which should be DB_STRING, to point to the new database.

paulshryock commented 4 years ago

@Esemplaret1 I got your email about mLab. See above for recommended next steps.

mLab is a MongoDB database hosting provider, or "Database-as-a-service". So it's where the MongoDB database is hosted. Since they were bought by MongoDB, the company, and they're discontinuing service, I'd recommend setting up a MongoDB Atlas account. They have a free tier available, which might be sufficient. Otherwise they have paid tiers.

ObjectRocket offers a similar paid service, and they have the convenience of providing service as a Heroku add-on (like we previously had with mLab). So setup with ObjectRocket is probably easiest, although I think there's no free tier. So there's a trade-off of convenience vs. price.

cc: @gbartku