Backup as your "special" git user.
# - change your old backup retention, I picked 1 day. /etc/gitlab/gitlab.rb gitlab_rails['backup_keep_time'] = 86400 gitlab-ctl reconfigure # - githoser, or whatever your git user is, feel free to skip keeping your env. /usr/bin/sudo /bin/su - githoser /usr/bin/gitlab-rake gitlab:backup:create