5.3.10. HOWTO Back up the Puppet Server¶
This section details the steps required to back up the Puppet Server.
Note
A default SIMP installation can use Git as a rudimentary method to back up the Puppet Server. If a different method is preferred, the user must install and configure it first.
Backup
/etc/puppetlabs/puppet/ssl
Backup
/etc/puppetlabs/puppet
Backup
/var/simp
Backup
`puppet config --section server print vardir`/simp
Optional: Backup
/var/www
Simple Full Backup Command
# tar --selinux --xattrs -czpvf simp_backup-$(date +%Y-%m-%d).tar.gz /etc/puppetlabs /var/simp `puppet config --section server print vardir`/simp /var/www /var/simp
Simple Full Restore Command
# WARNING: This will overwrite your current system files!
tar --selinux --xattrs -C / -xzpvf simp_backup-<date>.tar.gz
Note
This only backs up data that is managed/owned by Puppet. It will not backup any application-centric data (such as the contents of LDAP).