From ad2afb909ab847f23a23fb069e5949833f3a9eba Mon Sep 17 00:00:00 2001 From: Gustavo Luiz Duarte Date: Thu, 28 Apr 2016 23:38:01 -0300 Subject: [PATCH] Pass force=yes to the backup:restore rake task --- provision.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provision.sh b/provision.sh index 4b73038..921242b 100755 --- a/provision.sh +++ b/provision.sh @@ -148,7 +148,7 @@ if [[ -e $backup ]]; then printf "Movendo backup para diretório correto" install -D -m 755 -o git -g git $backup /var/lib/gitlab/backups cd /usr/lib/gitlab - sudo -u yes | git bundle exec rake gitlab:backup:restore RAILS_ENV=production + sudo -u git bundle exec rake gitlab:backup:restore RAILS_ENV=production force=yes else printf "Backup não encontrado" fi -- libgit2 0.21.2