Guide_Tip_Tech/Synology_Setting
Synology Gitlab 13.9.3 백업 및 복원
sonhc
2021. 4. 3. 19:46
< 백업 >
$ sudo /usr/local/bin/docker exec -i synology_gitlab bash -c "sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production"
$ sudo /usr/local/bin/docker exec -i synology_gitlab bash -c "sudo -u git -H bundle exec rake cache:clear RAILS_ENV=production"
< 복원 >
$ sudo /usr/local/bin/docker exec -i synology_gitlab bash -c "sudo -u git -H bundle exec rake gitlab:backup:restore RAILS_ENV=production"
< 참고 >
- github.com/jboxberger/synology-gitlab#backup
- github.com/jboxberger/synology-gitlab#restore
- docs.gitlab.com/ee/raketasks/backup_restore.html