The production server that hosts my rails app is being wiped and started again, as a result i will need to transfer my rails app onto the new system. The source isnt a problem i can just pull down from git again but the database is another matter. I could install phpmyadmin or something similar to access the database but i was wondering if there was something in rails (possibly a rake task) that would let me dump the current database and then import it onto a new server.
Share
You don’t need Rails or PHPMyAdmin for this. Assuming you’re using MySQL, simply ssh to your server:
Then on the other system:
Easy, huh?