Prepend "sudo -u git -H" to backup bundle exec commands.
Created by: d4nirod
Prepend "sudo -u git -H" to backup bundle exec commands.
Also add "cd /home/git/gitlab" prior to execution of the said backup commands. The latter should be obvious to anyone already familiar with GitLab but it would be helpful for newbies as backup is one of the things one might want to do after successfully installing and configuring.