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.
In each studio, click Manage certificates.
Export the destination server's Cluster certificate.
Import the certificate as a Client Certificate by the source server.
Configure the Client Certificate's Database Permissions to include the database whose data you want to migrate.
In the Destination Server, create or select an empty database and open its Settings --> Import Data option.
Enter the URL of the source server.
Choose which data to migrate, and click Migrate Database.
Import From File
Another option is to export a database from the source server in the
.ravenDBDump format, and upload it to another database using 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.