In version 3.0 the usage of attachments is considered as obsolete. The recommended way to work with files is to use a distributed file system - RavenFS which is part of RavenDB.
We provide a migration tool to support the migration of existing attachments into RavenFS.
Creating a file system
In order to start migration process you need to have an existing file system where all attachments will be copied. Use the management studio to accomplish that.
After accessing a main page of the studio, switch to File Systems:
Then create a new file system:
Using Raven.Migration utility
The utility Raven.Migration.exe is available in the /Migration folder of the ZIP package.
The above command will copy all attachments from MyDatabase database to the file system named MyFileSystem on the server http://localhost:8080/. If you want to migrate your attachments
to a file system on a different RavenDB server then you will have to additionally specify fs-server argument: