forked from jcnetdev/mysql_tasks
-
Notifications
You must be signed in to change notification settings - Fork 0
rake tasks for mysql backup and restore
eichert12/mysql_tasks
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
= MysqlTasks Some rake tasks to automate common database tasks (create/destroy & backup/restore). == Components rake db:mysql:create # Create database (using database.yml config) rake db:mysql:destroy # Destroy database (using database.yml config) rake db:mysql:backup # Dump schema and data to an SQL file (/db/backup_YYYY_MM_DD.sql) rake db:mysql:restore # Load schema and data from an SQL file (/db/restore.sql) Specifying RAILS_ENV works if you want to perform operations on test or production databases.
About
rake tasks for mysql backup and restore
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Ruby 100.0%