mirror of
https://github.com/YunoHost-Apps/gitlab_ynh.git
synced 2024-09-03 18:36:35 +02:00
fix restore
This commit is contained in:
parent
2cb2f36f5d
commit
35bff9524e
1 changed files with 0 additions and 3 deletions
|
@ -65,9 +65,6 @@ ln -s /opt/gitlab/bin/gitlab-psql /usr/bin/gitlab-psql
|
||||||
ln -s /opt/gitlab/bin/gitlab-rails /usr/bin/gitlab-rails
|
ln -s /opt/gitlab/bin/gitlab-rails /usr/bin/gitlab-rails
|
||||||
ln -s /opt/gitlab/bin/gitlab-rake /usr/bin/gitlab-rake
|
ln -s /opt/gitlab/bin/gitlab-rake /usr/bin/gitlab-rake
|
||||||
|
|
||||||
gitlab-ctl stop unicorn
|
|
||||||
gitlab-ctl stop sidekiq
|
|
||||||
|
|
||||||
fullfile=$(ls /var/opt/gitlab/backups/*_gitlab* --file -c1 | head -1)
|
fullfile=$(ls /var/opt/gitlab/backups/*_gitlab* --file -c1 | head -1)
|
||||||
basename="/var/opt/gitlab/backups/"
|
basename="/var/opt/gitlab/backups/"
|
||||||
last_backup="${filename%_gitlab_backup.tar}"
|
last_backup="${filename%_gitlab_backup.tar}"
|
||||||
|
|
Loading…
Reference in a new issue