Smuggling – Import / Export

Raven.Smuggler is a utility that comes with Raven that can import / export data from a Raven instance.

Export

Raven.Smuggler out http://localhost:8080 dump.raven

This command will export all indexes and documents from the local Raven instance to the dump.raven.

Note that this also include documents that were added during the export process, so you can make changes while the export is executing.

Import

Raven.Smuggler in http://localhost:8080 dump.raven

This command will import all the indexes and documents from the file to the local instance.

This command will overwrite any existing documents on the local instance.

You can continue using that Raven instance while data is being imported to it.