> * Create a task, using your example, call it :backup_db. In it, use > drush sql dump on the remote host to generate a sql dump of your db, > than use download to pull that file.
I see in your common.rb file you have a task that does some drush stuff. Where is this being executed? Are you pointing to an installation of drush on a remote server? All I see if a path. Does capistrano just "know" where to do it or am I missing something? In my case, I'd need to run drush commands on both dev and staging (if I wanted to dump and import the db). -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en To unsubscribe from this group, send email to capistrano+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
