Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6889091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:06:43+00:00 2026-05-27T06:06:43+00:00

I had and app on heroku then I decided to create another app (on

  • 0

I had and app on heroku
then I decided to create another app (on cedar stack which does not support stack:migrate).

How can I migrate databases PG and MongoHq?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T06:06:44+00:00Added an answer on May 27, 2026 at 6:06 am

    You can migrate MongoHQ by logging into heroku and clicking on addons => mongohq. From the application, create a new user under Database Users named “backup” with a simple password. Below, my password was “temppw”. Then click the Database Info tab for your connection information (host:port [flame.mongohq.com:27049] and dbname [appXXXXXX]). Then just call mongodump to get a backup.

    mongodump -h flame.mongohq.com:27049 -d appXXXXXX -u backup -p temppw
    

    This will make a local directory called “dump” containing your data. Verify it is there by loading it into a local db (just run mongorestore and look in your local mongo install) – because when you destroy your old app, it destroys the MongoDB (heroku also destroys your postgres db – so you should do this for that as well).

    Anyway, do the same as above to your new application database, except use mongorestore.

    mongorestore -h flame.mongohq.com:27049 -d appXXXXXX -u backup -p temppw dump/appXXXXXX
    

    DO NOT JUST POINT THE ENVIRONMENT URLS. This is dangerous, because deleting your initial app will destroy all of your data.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently had my app certified (first time!) but not automatically published. The game
I had implemented menu in my app successfully. But I am facing one another
I had set remote access to Heroku, so I could deploy my app to
I'm developing a Rails 3 app deployed on Heroku which would like to optimize.
I've had an app fail in the Marketplace due to my audio MediaElement not
Hi My app had visitors and I like to analyze the log file. Can
I had an app up on Heroku with an app name I like but
I had a production app on Heroku - productionapp.heroku.com So, I followed the steps
I had an app which plays videos from a web server but it just
I had this app using 1.9.2 and rails 3.2 and today I changed the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.