'Is there some easy way to backup MySQL then restore to another environment on rails3?

Rails has db:migrate, db:create, etc to help rebuild the structure of db, but currently I didn't find any solution that could easily backup & restore on another machine.

We need use some Mysqldump MySQL command, it's a little boring. I would like suggestions for other methods.



Solution 1:[1]

Haven't used it personally, but this gem seems useful: https://github.com/soundevolution/rails-backup-migrate

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Ant