
The syntax for exporting a collection called Categories would be as follows:-
What are we doing here, well we are saying use Smuggler to export from the Catalogue Tenants database a dump file - we are also using metadata so that we are only exporting a collection of documents called Categories and then only the latest version so no revisions, and lastly only export the Documents so no Indexes or any other types of documents.
I wanted to then import this into my local instance of RavenDB so the following command does just that:-
This will import the Categories and override any existing Categories in my local RavenDB instance.
You can read more about smuggler here.
Hope someone finds that useful.




