10 Getting ready for production

 

This chapter covers

  • Deploying and maintaining RavenDB in production
  • Configuration options
  • Troubleshooting issues on production
  • Creating data back-ups, and how to restore from them
  • Performing data migrations on live databases

Welcome to the last chapter of the book!

So far we focused on getting to know RavenDB – the database – from the developer’s perspective. We used code, or the management studio to create and edit documents, define indexes, and shape the structures of both to make RavenDB as performant and useful as possible.

In this chapter we are going to focus on RavenDB as a database product in production, and the various concerns that surround it. We will start by talking about various deployment options, including access control and the available configuration options.

We then move to discussing backup strategies – this is a very important topic for every database engine, and I made sure to give you as many tools as possible to make sure you can do this the right way. Just like backups, data migration operations are inevitable in production, and are going to discuss them too.

10.1   Deployment

10.1.1   Installing a RavenDB server

10.1.2   Database Authentication

10.1.3   Configurations

10.2   Backup strategies

10.2.1   Enterprise backup solutions

10.2.2   The Raven.Backup tool

10.2.3   Periodic exports

10.2.4   The Smuggler tool

10.3   Data migrations

10.4   Summary