RavenDB 2.x  Beginner's Guide
上QQ阅读APP看书,第一时间看更新

Time for action – enabling the Periodic Backup feature

You will learn to enable or disable the Periodic Backup Bundle which is added by default to each new database.

  1. In the Management Studio, click on the Databases link to display the Databases screen.
  2. Select the World database and right-click on it to show the contextual menu, then choose Edit Settings.
  3. Select Periodic Backup from the list on the left-side to show its settings page and then click on Activate Periodic Backup to activate the Bundle.
  4. Enter C:\WorldBackup as the path where database backups will be stored.
  5. Enter 60 minutes for the backup interval.
  6. Click on the Save Changes button to save the new parameters.

What just happened?

We learned how to activate the Periodic Backups Bundle for the World database.

In steps 1 to 4, we activated the Periodic Backups Bundle for the World database and in steps 5 and 6, we entered the backup path C:\WorldBackup with the backup interval of 60 minutes. RavenDB will use this information to make a backup every 60 minutes and will store this backup in the C:\WorldBackup folder.