Use the mongodump utility from the command line. It comes with
mongodb, and can be pointed at whatever remote database you like.
For example, try a ruby script that looks something like:
host = 'flame.mongohq.com:27000'
db = 'ginnys-database'
user = 'ginny'
pass = 'password'
`mongodump -h#{host} -d#{db} -u#{user} -p#{pass} --out ~/dump`
That'll dump the entire contents to your local ~/dump folder. If you
need to restore them, you can use mongorestore, which takes similar
arguments.
On Aug 25, 9:44 pm, Ginny Hendry <[email protected]> wrote:
> Am I right in assuming that Heroku bundles don't include MongoHQ data?
>
> Do db:pull or taps work with MongoHQ?
>
> If not, what are our options for backup and restore for MongoHQ
> databases?
>
> I'm sure MongoHQ has backups in case their disks crash but I need my
> own backups in case I or a user destroys something important.
>
> Thx.
>
> -Ginny
--
You received this message because you are subscribed to the Google Groups
"Heroku" 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/heroku?hl=en.