This is something I will definitely be able to work off of.  Thank you!

On Thu, Mar 25, 2010 at 7:49 PM, Rafael G. <[email protected]> wrote:

> A bit late but I hope it helps you:
>
>       http://gist.github.com/318312
>
> Regards
>
>
> joe wrote:
>
>> Hello all,
>>
>> I'm trying to figure out how to make a task that will move a directory
>> from my dev server to my staging server (this is the server I'm
>> deploying to with Capistrano).  The dev server information is only
>> located in the :repository variable, which is kind of useless for what
>> I want to do.
>>
>> Ultimately, I need to copy a directory that isn't tracked by Git from
>> dev to staging as well as dump my (drupal) database on dev, send it to
>> staging, and import it.  I can obviously do this "manually" with a
>> scp, mysqldump, etc., but figuring it into a deploy.rb is kind of
>> confusing me.
>>
>> Here's my current deploy.rb -- http://pastie.org/883249
>>
>> I'm thinking I'd need to add a couple of tasks to my drupal
>> namespace, :backup_db, :copy_files, :import_db (maybe?) and then do
>> what I need to do there.  I guess I just don't get how I'd communicate
>> with the different servers within the tasks.
>>
>> Thanks in advance!
>>
>> - Joe
>>
>>
>>
>
>
> --
> Rafa
>
> --
> * 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]<capistrano%[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.
>

-- 
* 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.

Reply via email to