From 8533d8c8e4fac1b0cb3b10fb77c99bc5ad4f3958 Mon Sep 17 00:00:00 2001 From: Kayou Date: Wed, 5 Jun 2019 00:33:32 +0200 Subject: [PATCH] check after restart --- scripts/restore | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 707d3e4..d2f1aa9 100644 --- a/scripts/restore +++ b/scripts/restore @@ -143,8 +143,6 @@ gitlab-ctl stop sidekiq # Doc: https://docs.gitlab.com/ce/raketasks/backup_restore.html#restore-for-omnibus-gitlab-installations ynh_exec_warn_less gitlab-rake gitlab:backup:restore force=yes BACKUP=$last_backup -gitlab-rake gitlab:check SANITIZE=true - #================================================= # GENERIC FINALIZATION #================================================= @@ -160,6 +158,12 @@ ynh_script_progression --message="Waiting for gitlab..." --weight=14 ynh_systemd_action --action=restart --service_name="gitlab-runsvdir" --log_path="/var/log/$app/unicorn/current" --line_match="adopted" --timeout=3600 +#================================================= +# CHECK THE RESTORED DATA +#================================================= + +gitlab-rake gitlab:check SANITIZE=true + #================================================= # RELOAD NGINX #=================================================