Question-and-Answer Resource for the Building Energy Modeling Community
Get s tarted with the Help page
Ask Your Question

How do you upload a mongodump database to a fresh instance of the OpenStudio Cloud Management Console

asked 2015-08-19 16:44:32 -0600

updated 2015-11-07 17:38:00 -0600

After completing an analysis I downloaded the project database in hopes that it would be possible to upload the results at a later time. After rebooting the openstudio server I'm not seeing how to do this.

Is it possible to terminate and EC2 instance and then restart it and upload a project database?

I like having access to the results but I don't want to keep the server running over long periods of time as the costs can add up.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2015-08-26 10:47:08 -0600

To start up a blank OS-server, run '>rake create_cluster' and then select a spreadsheet that has the cluster configuration you want. This will only start up the EC2 instances defined in the that spreadsheet and will not submit any jobs to it. From there you can then go to the server page and reload your database snapshot.

note, '>rake -T' will list all the available commands for the spreadsheet. (you might need to add 'bundle exec rake create_cluster', depending on your ruby setup).

edit flag offensive delete link more


wonderful. Thanks for the explanation!

Lincoln gravatar image Lincoln  ( 2015-08-26 11:07:28 -0600 )edit

answered 2015-08-20 09:20:14 -0600

@Lincoln did you use the "Backup" feature when you save the database? If so you should be able to restore it by choosing the file and then choosing "Upload and Restore Database". If that doesn't work let me know and I'll follow up with someone else to see what is happening.

image description

edit flag offensive delete link more


@David Goldwasser yes I used the backup feature. The problem is that i stopped the instance that was hosting the open studio cloud console. When i restart the instance I can't get the console to appear.

Is there a way to open a blank openstudio cloud console without starting a project/analysis?

Lincoln gravatar image Lincoln  ( 2015-08-20 12:50:13 -0600 )edit

yes, see my answer below. Terminating and restarting the images thru amazon wont work because the instances wont be configured correctly. They need to be started thru the spreadsheet command line.

also, using the backup feature as described above will completely erase the existing database on your running server. When you do this, all the datapoint files will be lost, only the high level database information will be saved.

BrianLBall gravatar image BrianLBall  ( 2015-08-26 10:47:50 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer


Question Tools



Asked: 2015-08-19 16:44:32 -0600

Seen: 170 times

Last updated: Aug 26 '15