For my own reference more than anything. Keep the data, indexes and logs out of the server build folder for easier upgrades.

Use something like the following raven.server.config

<xml version="1.0" encoding="utf-8" ?>
    <add key="Raven/Port" value="*"/>
    <add key="Raven/DataDir" value="E:\ravendb\System\Data\"/>
    <add key="Raven/IndexStoragePath" value="E:\ravendb\System\Indexes"/>
    <add key="Raven/Esent/LogsPath" value="E:\ravendb\System\Logs"/>

    <add key="Raven/Plugins" value="~\Plugins"/>
    <add key="Raven/AnonymousAccess" value="Get"/>
        <loadFromRemoteSources enabled="true"/>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <probing privatePath="Analyzers"/>

I created a directory called ‘system’ for which I specify the directories for data, indexes and logs in a separate raven.server.config file.

I now just copy the new config file into the server directory of my chosen raven build dir and fire up the new version.

Everything just works.