Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade #24

Open
munsuri opened this issue Feb 3, 2017 · 4 comments
Open

Upgrade #24

munsuri opened this issue Feb 3, 2017 · 4 comments

Comments

@munsuri
Copy link

munsuri commented Feb 3, 2017

Hi,

I'm using an older version of this cartridge. Is it possible to upgrade easily to the latest version now without losing the previous data?

Cheers!

@Tommsy64
Copy link

Tommsy64 commented Feb 5, 2017

Copied from Notes in the README file:

Can't think of a safe way to make this cartridge auto-updatable. For now we'll just have to use mongodump, destroy the cartridge, install the new version, then do a mongorestore.

@icflorescu
Copy link
Owner

Thanks for clarifying, @Tommsy64 :-)

Indeed, there's no easy way to do this. You'll probably have to use rhc port-forward to connect and dump the data on your machine, install the new version and restore afterwards.

@munsuri
Copy link
Author

munsuri commented Feb 8, 2017

Thanks for your answers. I was asking due to this:
https://docs.mongodb.com/manual/release-notes/3.4-upgrade-standalone/
Based on the previous docs and since I'm using mongodb 3.2.7, I was thinking about the possibility of extending the control script to simply:

Shut down your mongod instance. Replace the existing binary with the 3.4 mongod binary and restart mongod.

Which IMHO is "easy" (straightforward) and relatively safe (making a backup before of course)

Any thoughts?

@teja1127
Copy link

teja1127 commented May 2, 2017

Hai,
This is teja ,
I have one query regarding to the mangodb,the query is can we upgrade mangodb in openshift and the version using is 2.25 and mangodb version is 2.4 is it possible to upgrade the mangodb can any one explain the procedure of upgradation of the mangodb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants