mischa / momorake

my default rake tasks -- currently just db backup and restore stuff

This URL has Read+Write access

name age message
file .gitignore Loading commit data...
file MIT-LICENSE
file README.rdoc
file Rakefile
directory tasks/
README.rdoc

Momorake

This is for when you have to migrate a crapton of data.

The two taks are for when you want to quickly drop and recreate the db

Usage

Create a backup of the current mysql development database at db/backups/backup.sql Moves old backup to a file timestamped Now

        rake db:backup

Drop the current dev db, recreate it, then load the file at db/backups/backup.sql

        rake db:restore

Website: www.themomorohoax.com

Copyright © 2009 Mischa Fierer, released under the MIT license