Do not remove old backups on upgrade

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

apt-get upgrade gitlab-ce removes ALL previous backups and runs a partial backup (database only)

Steps to reproduce

Create a full backup Run apt-get upgrade gitlab-ce

What is the current bug behavior?

All backups are gone and one partial (db only) backup remains

What is the expected correct behavior?

Keep my full backups if not creating a new full one!

Relevant logs

Preparing to unpack .../gitlab-ce_11.0.3-ce.0_amd64.deb ...
gitlab preinstall: Automatically backing up only the GitLab SQL database (**excluding everything else**!)
Dumping database ... 
Dumping PostgreSQL database gitlabhq_production ... [DONE]

[...]

Creating backup archive: 1531819485_2018_07_17_10.8.3_gitlab_backup.tar ... done
Uploading backup archive to remote storage  ... skipped
Deleting tmp directories ... done
done
**Deleting old backups ... done**. (3 removed)
Unpacking gitlab-ce (11.0.3-ce.0) over (10.8.3-ce.0) ...
Edited by 🤖 GitLab Bot 🤖