From 67616b642171ab318df04f43dddede8f200c004a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20Bourr=C3=A9?= Date: Tue, 25 Dec 2018 20:08:49 +0100 Subject: [PATCH] fix restore --- scripts/restore | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/restore b/scripts/restore index ca07a3b..b5424b0 100644 --- a/scripts/restore +++ b/scripts/restore @@ -60,6 +60,9 @@ ynh_restore_file "/etc/nginx/conf.d/$domain.d/$app.conf" ynh_install_app_dependencies openssh-server +ynh_restore_file "$config_path/gitlab-secrets.json" +ynh_restore_file "$config_path/gitlab.rb" + setup_source $architecture ynh_restore_file "/var/opt/$app/backups/" @@ -77,8 +80,5 @@ last_backup="${filename%_gitlab_backup.tar}" # Use gitlab-rake to backup gitlab-rake gitlab:backup:restore force=yes BACKUP=$last_backup -ynh_restore_file "$config_path/gitlab-secrets.json" -ynh_restore_file "$config_path/gitlab.rb" - gitlab-ctl restart gitlab-rake gitlab:check SANITIZE=true