3.6. Restarting the Database

Documentation

VoltDB Home » Documentation » Administrator's Guide

3.6. Restarting the Database

Restarting a VoltDB database is done the same way as starting the database for the first time, except there is no need to initialize the root directory. You simply issue the same voltdb start command you did when you started it for the first time. For example:

$ voltdb start --dir=~/database     \   
               --count=5            \   
               --host=svr1,svr2     \   
               --license=~/license.xml   

If you are using command logging, or you created a final snapshot using the voltadmin shutdown --save command, VoltDB automatically reinstates the data once the cluster is established. After the schema is loaded and all data is restored, the database enables client access.