I'm almost afraid to ask this question here because it seems like it should be readily available via google or on ravendb.net. However, I've been having a tough time finding out the proper way to upgrade my RavenDB to a new version. I'm currently running version 573 and want to upgrade to 616, simply for the ability to promote an index in Raven Studio.
What is the proper way to upgrade? Do I backup my DB, delete my entire Raven folder on the hard disk, then copy the new 616 version to that same folder area? Then restore the DB?
EDIT:
How I Upgraded RavenDB v573 to v960 (27-Nov-2012):
Note: Changing the MaxPageSize (step 7.b) is not recommended.
sc delete RavenDB
<add key="Raven/AnonymousAccess" value="Get"/>
<add key="Raven/MaxPageSize" value="2147483647"/>
<add key="Raven/Authorization/Windows/RequiredUsers" value="domain\UserName"/>
C:\Software\RavenDb\RavenDB-Build-960\Server>Raven.Server.exe /install
BobHorn,
The way I do it, on our production sites :-) 1) Stop the IIS site. 2) Replace the binaries 3) Start the IIS site.
If it is a big change, I also do a backup. But that is pretty much it.
In the past, I have installed RavenDB newer version as a IIS website completely separate from the old one. Then moved the data folder from old to new location. Then slowly phase the old one out (of course depending on your situation, you would change the appropriate IIS settings for the website as you keep phasing out old one)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With