I'm really impressed with Capistrano and am beginning to convert my
personal
deployment scripts into capistrano scripts.

One script I always write for my rails projects is db_pullback which
runs mysqldump on the production database and pipes the output
through ssh into mysql on my workstation.

ssh -C my.db.com "mysqldump -u root -p --add-drop-table
--extended-insert=FALSE \
  --complete-insert myproject_production --tables $tables" | mysql
myproject_development

>From reading the docs, I couldn't see how to accomplish this in a cap
task.
I'm also wondering how to pull a file back from a production server
using a cap task.

thanks,

Mike


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to