see on GitHub

RavenDB on the Cloud: Migration


Databases can be migrated between any two instances of RavenDB, including migration between on-premises and cloud servers and between different RavenDB versions.


Import From Live RavenDB Instance

You can easily migrate your database using the import data from RavenDB operation.
In order to do so, the source server needs to have the destination server's cluster certificate.

Open the Management Studio of each server.
Each server's Studio is available at it Portal's Product tab.
"Server URLs"


In each studio, click Manage certificates.
"Manage Certificates"


Export the destination server's Cluster certificate.
"Cluster Certificate"


Import the certificate as a Client Certificate by the source server.
"Client Certificate"


Configure the Client Certificate's Database Permissions to include the database whose data you want to migrate.
"Database Permissions"


In the Destination Server, create or select an empty database and open its Settings --> Import Data option.
"Import Data"


Enter the URL of the source server.
Choose which data to migrate, and click Migrate Database.
"Import Options"

Import From File

Another option is to export a database from the source server in the .ravenDBDump format, and upload it to another database with the import data from file operation.
This option doesn't require passing certificates:


In the source server, select a database to export and go to Settings --> Export Database.
After choosing which data to export, click Export Database.


In the destination server, go to Settings --> Import Database.
Click the From file (.ravendbdump) tab.
Select the file and click Import Database.