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

Recent Projects

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

Let’s Build Something Great Together

Let’s discuss your project and see how Ruby on Rails can be your competitive advantage.

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