Onmibus Before & After Tasks

I’ve been using Gitlab Community since January and have been performing a monthly upgrade to keep up with Gitlab’s monthly release schedule.

In addition to running ‘yum install gitlab-ce’ once a month, I perform a few tasks before and after the upgrade and I’ve been trying to find out whether these tasks are even necessary.

Before Tasks

Before running yum I always, tar all the local directories and files Gitlab stores on the local machine. Is this step necessary? Or is there a way to downgrade in the event that something goes horribly wrong?

After Tasks

After the upgrade has completed, I’ve been running ‘gitlab-rake gitlab:check SANITIZE=true’. I’ve been wondering if this is redundant…does this get run during the upgrade?

Can anyone comment on this? I’m about to perform the 8.11 upgrade now