Using Capistrano v2.6.0, I'm trying to get server I defined as *server
"staging.app.com", :app, :web, :db, :primary => true* to connect to another
server defined by myself in order to launch a mysqldump, and scp the
resulting file.
My first issue, even before making both main server and mysql machine
communicate, is to declare a server that is'nt :app, :web or :db (to keep
these native
server types clean)
So here's what I wrote :
server "staging.app.com", :app, :web, :db, :primary => true
server "legacyserver.com", :origin_server
I wish to connect to :origin_server only when needed, i.e when I need to
run mysqldump and scp of it. But, when launching cap %env% deploy,
capistrano logs :
servers: ["staging.app.com", "legacyserver.com"]
and tries to log to both machines using the same entered credentials.
What could I be missing ?
Thanks a lot
--
* 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