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.

Do you have a tech idea?

Let’s talk!

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

If you prefer email, write to us at hello@jetrockets.com