Another option is not to perform a backup but make an export of the database. In Chapter 2, RavenDB Management Studio, you learned how to import/export documents using RavenDB Management Studio. There is also another way to perform database import/export using a command-line tool named Raven.Smuggler.exe
, which is part of the RavenDB distribution package and located under the ~\Smuggler
folder.
Note
There is no difference between the RavenDB Smuggler
utility and Import
/Export
performed using Management Studio. Both use the same Smuggler API code.
The Raven.Smuggler.exe
utility works over HTTP and it is necessary when trying to move a RavenDB data folder between servers. Simply copying is not supported and can result in server errors.
The
Raven.Smuggler.exe
utility has several command-line optional parameters. Basically, to perform an Export
or an Import
operation it requires you to specify...