Skip to main content

Legacy versions data Migration

Migration from RavenDB 5.x to a higher version

  • Upgrading RavenDB 5.x to a higher version supports in-place data migration: exporting and re-importing the data are not needed.

  • RavenDB 5.x licenses do not apply to RavenDB 6.x and above.
    To upgrade a valid 5.x license to a RavenDB 6.x and above license, use the License upgrade tool as explained here.

Note that once upgraded, RavenDB 6.x and higher versions cannot be downgraded to version 5.x, and the migrated data will no longer be accessible via RavenDB 5.x.
Create a backup of your data before upgrading to keep the data safe and accessible.

Migration from RavenDB 4.x to a higher version

  • Upgrading RavenDB 4.x to version 5.x or higher supports in-place data migration: exporting and re-importing the data are not needed.

    Upgrading directly from version 4.x to 6.x and above is possible, but it is recommended to upgrade RavenDB 4.x to 5.x first, and then proceed with an upgrade from version 5.x to 6.x or above.

  • RavenDB 4.x licenses do not apply to RavenDB 6.x and above.
    To upgrade a valid 4.x license to a RavenDB 6.x and above license, use the License upgrade tool as explained here.

Note that once upgraded, RavenDB 6.x and higher versions cannot be downgraded to version 4.x, and the migrated data will no longer be accessible via RavenDB 4.x.
Create a backup of your data before upgrading to keep the data safe and accessible.

Migration from RavenDB 3.x to a higher version

If you want to migrate your data from a RavenDB version earlier than 4.x, please read the dedicated article here.

Migrating data into a sharded database

If you want to migrate your data to a sharded database (supported by RavenDB 6.0 and above),
please read the related article here.