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.
- Run automated tests against local 960 to verify nothing breaks.
- Back up 573 RavenDB
- Install/unzip 960 to production server
- Copy data folder from 573 to 960
- Give user PrestoDatabaseUser full access to the data folder
- Uninstall existing RavenDB service:
a.sc delete RavenDB
b. Rename old 573 folder to RavenDB-Build-573_deprecate - Set Raven.Server.exe.config (bring over any altered settings from the original config):
a.<add key="Raven/AnonymousAccess" value="Get"/>
b.<add key="Raven/MaxPageSize" value="2147483647"/>
c.<add key="Raven/Authorization/Windows/RequiredUsers" value="domain\UserName"/>
- Install as a service:
a.C:\Software\RavenDb\RavenDB-Build-960\Server>Raven.Server.exe /install
- Change RavenDB backup batch file to point to new 960 folder structure
- If the services/apps aren't responding to the new RavenDB, restart them.