Skip builds directory on preinstall backup.

This commit is contained in:
Marin Jankovski 2015-10-22 15:03:50 +02:00
parent 14028225b5
commit 1bfbf44086
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ main() {
if [ -d ${DEST_DIR}/service/unicorn ] ; then
notify "Backing up GitLab SQL database (excluding Git repositories, uploads)"
if ! ${DEST_DIR}/bin/gitlab-rake gitlab:backup:create SKIP=repositories,uploads ; then
if ! ${DEST_DIR}/bin/gitlab-rake gitlab:backup:create SKIP=repositories,uploads,builds ; then
notify
notify "Backup failed! If you want to skip this backup, run the following command and"
notify "try again:"