Programacion de Backups Servidor GITLAB

BACKUP

  • gitlab-rake gitlab:backup:create  (Lanzar de una vez)

 

Nos vamos al crontab:

(Todos los dias a las 22:00)

0 22 * * * /opt/gitlab/bin/gitlab-rake gitlab:backup:create CRON=1

 

Editar la rotación:

(*Descomentar)

Nos vamos al fichero de configuración y le abrimos:

/etc/gitlab/gitlab.rb

 

# limit backup lifetime to 7 days – 604800 seconds

gitlab_rails[‘backup_keep_time’] = 604800

 

Una vez modificado volvemos a reconfigurar el servidor con los cambios realizados,

gitlab-ctl reconfigure

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>