Backup and Restore

Backup and Restore

Periodic backups of Chef server data are an essential part of managing and maintaining a healthy configuration and to help ensure that important data can be restored, if required.

High Availability

Note

This section only applies to the Enterprise Chef server, version 11.x.

To configure backups on the backend servers in a high availability configuration, set a cron job in /etc/cron.d/opc_snapshot similar to the following:

# Add to /etc/cron.d/opc_snapshot, and then remove comment below MAILTO to activate the cron job
SHELL=/bin/bash
HOME=/opt/opscode/bin
PATH=/usr/bin:/usr/sbin:/bin:/opt/opscode/embedded/bin:/opt/opscode/bin
MAILTO=SOMEONE@payingattention
#17 23 * * * root drbd-backups -g opscode -l drbd > /