This process will only work if both databases are running RavenDB 3.0 or higher!
To quickly move data between two databases that are hosted by RavenHQ we recommend using the Smuggler tool. For documentation of the complete set of Smuggler options, please view the RavenDB Smuggler documentation.
In the example below we assume that you have the following RavenHQ databases setup:
Source
Name: TestA
Url: https://test-a.ravenhq.com
API Key: ApiKeyA
Destination
Name: TestB
Url: https://test-b.ravenhq.com
API Key: ApiKeyB
You will need to swap these values out for your own values when you run Smuggler.
Raven.Smuggler between https://test-a.ravenhq.com https://test-b.ravenhq.com
--database=TestA
--database2=TestB
--api-key=ApiKeyA
--api-key2=ApiKeyB
--negative-metadata-filter:@id=Raven/Replication/Destinations
--negative-metadata-filter:@id=Raven/Backup/Periodic/Setup
--negative-metadata-filter:@id=Raven/Backup/Periodic/Status
--negative-metadata-filter:@id=Raven/Replication/VersionHilo
0 Comments