Non-tech founder’s guide to choosing the right software development partner Download Ebook
Home>Blog>How to restore the database from a dump in rails

How to restore the database from a dump in Rails

 There’s no need for you to do this.

psql -U your_username -d your _database_name < path_to_your_dump_file.sql

Just take the simplest approach.

bin/rails db < path_to_your_dump_file.sql

Discover More Reads

Categories:

Recent Projects

We take pride in creating applications that drive growth and evolution, from niche startups to international companies.

Explore Portfolio

Let's Build Something Great Together

Let's discuss your project and explore how a Rails upgrade can become your competitive advantage. Contact us today to start the conversation.

*By submitting this form, you agree with JetRockets’ Privacy Policy