1
votes

Does anyone know how / if it's possible to define multiple collections, with different collection names such as "Hello" "There" "General", as the source for cosmosdb migration tool?

I know it's possible if the collections names were numbered, e.g. Hello1 , Hello2, Hello3 etc.

The target appears to have the option to add multiples but source does not.

Link to the doc: https://docs.microsoft.com/en-us/azure/cosmos-db/import-data#SQLBulkTarget

Source

Target

1

1 Answers

0
votes

Please refer to the statement in this document, you could find the answer.

To import from a single Azure Cosmos container, enter the name of the collection to import data from. To import from more than one Azure Cosmos container, provide a regular expression to match one or more collection names (for example, collection01 | collection02 | collection03). You may optionally specify, or provide a file for, a query to both filter and shape the data that you're importing.

enter image description here