The amount and value of data stored on Github Enterprise servers is quite large, and backing them up is rather important. To keep people from doing desperate restores from cloned repositories Github has a tool for backing up and restoring GHE installs. To make this even easier I've put together a Puppet module that takes care of the basic setup and configuration of the GHE backups tool.
Combining this module with your existing Puppet environment makes GHE backups easy-
class { 'ghebackups': ghe_hostname => 'github.example.net', }
In fact if your network will resolve "github" on your search domains you can even skip the ghe_hostname parameter.
Storing backups with a custom location and number of snapshots is not much more difficult.
file { '/backups/github': ensure => 'directory' }-> class { 'ghebackups': ghe_hostname => 'github.example.net', ghe_data_dir => '/backups/github', ghe_num_snapshots => 72, }
This module also keeps the backup utility up to date and takes care of some other minor issues around installing this package.
For full documentation view the module on Puppet Forge, and as always contributions are always welcome on Github.