On Aug 4, 2010, at 3:19 AM, gduq wrote:

> Is it possible to use heroku db:pull to clone the data from one
> (heroku) app directly to another without downloading it to the local
> machine and using db:push to send it back?  e.g.  if we have
> 'production' and 'staging' apps and want to copy the data over from
> production.

Hi, gduq --

It's a mess at the moment, but I've just written a [rake task][1] to do this 
very thing. The basic approach is to run (the equivalent of) `heroku db:pull` 
on Heroku itself; from the command-line it looks like:

  heroku rake db:pull --remote staging

(Do consider it a starting point for a conversation, though: like I say, it's a 
mess!)

Cheers,  -- Matthew


[1]: http://gist.github.com/511224

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to