Backup Gitlab

Yang pertama kita lakukan dulu backup di /etc/backup :

sh -c 'umask 0077; tar -cf $(date "+etc-gitlab-%s.tar") -C /etc/gitlab'

Kemudian backup gitlab.yml hasil konfigurasi kita :

sh -c 'umask 0077; tar -cf $(date "+var-opt-gitlab-rails-etc-%s.tar") -C /var/opt/gitlab/gitlab-rails/etc/'

Kemudian backup repositori keseluruhan

gitlab-rake gitlab:backup:create

Lanjut ke langkah restore ke server lain
Share on Google Plus

About Rolly Maulana Awangga

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.

1 comments:

  1. Some grades of stainless steel are also most well-liked for decorative and non-structural purposes. The bend radius refers back to the} distance between the bend axis best mittens for toddlers and the material’s inner surface. Bends in the identical airplane should be designed to go in the identical path. Bends in sheet steel fabrication are characterized by the next critical parameters.

    ReplyDelete