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 in the Portal's
Learn how to install the certificate and access RavenDB Cloud Studio if this is your first time using Cloud Studio.
If you have already installed the certificate and accessed Studio,
click the URLs in the Products tab to open a Studio GUI for each node.
In each studio, select server dashboard and 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 Tasks --> Import Data option.
- Select the Tasks tab.
- Select Import Data.
- Select the From RavenDB tab.
- Select the destination server.
- Make sure that you are not writing over data that you want to keep. One option is to start a new database with the studio. If you create a new one, choose the new database server in step 4 (above).
- Enter the URL of the source server and choose which data to migrate.
- Click Migrate Database