Mike,If you're not against reading code, you can look at the implementation of the file transfer mechanism in capistrano. Currently it only works one way ("put"), but it shouldn't be hard to implement a "get" function that works similarly.
- Jamis On Oct 29, 2006, at 5:38 PM, mbailey wrote:
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_developmentFrom reading the docs, I couldn't see how to accomplish this in a captask. 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 capistrano- [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/ group/capistrano-~----------~----~----~----~------~----~------~--~---
smime.p7s
Description: S/MIME cryptographic signature
