Qual é a melhor maneira de criar backup em um gitlab existente e restaurar o mesmo backup em um novo servidor gitlab? [fechadas]

32

Qual é a melhor maneira de fazer backup e restaurar o gitlab, incluindo todos os repositórios, comentários de commit, comentários de parede, wiki, etc.

    
por newbie 10.05.2013 / 01:08

1 resposta

32

Na documentação :

A backup creates an archive file that contains the database, all repositories and all attachments. This archive will be saved in backup_path (see config/gitlab.yml).

The filename will be [TIMESTAMP]_gitlab_backup.tar. This timestamp can be used to restore an specific backup.

sudo gitlab-rake gitlab:backup:create

    
por 01.06.2013 / 23:35