sbadia / puppet-gitlab

Puppet module for manage GitLab installation
http://forge.puppetlabs.com/sbadia/gitlab
GNU General Public License v3.0
131 stars 76 forks source link

Support for enabling backups #115

Closed igalic closed 10 years ago

igalic commented 10 years ago

add configuration variables to support the enabling of a backup cron job. This shell script will run gitlab's internal backup task:

rake RAILS_ENV=production gitlab:backup:create

from cron. It is possible to also specify a script or a set of scripts that run afterwards. This is useful to transfer the backup to a central secure location. Gitlab backup job itself takes care of cleaning up old files. The retention, in seconds, can be controlled via the $gitlab_backup_keep_time variable, which defaults to 0 (forever).

igalic commented 10 years ago

I guess I should squash those again…

igalic commented 10 years ago

With this pull request, we should be able to satisfy #101

igalic commented 10 years ago

fixed tests for 1.8 now too.

igalic commented 10 years ago

cough @sbadia cough @atomaka

sbadia commented 10 years ago

@igalic sorry for the delay… :-/ This PR work fine in my dev env. Many thanks @igalic !