Backup Error

I want to migrate Gitlab from the old server(Gitlab 8.10.1 & CenOS 6.8) to the new one referring to Migrate to a new server | GitLab. I have tried performing backup on the old server by running command sudo gitlab-rake gitlab:backup:create. Still, it showed error messages as follows.

[root@gitserver ~]# sudo gitlab-rake gitlab:backup:create
Dumping database …
Dumping PostgreSQL database gitlabhq_production … [DONE]
done
Dumping repositories …

  • ABC/8x-hotfix-upgrade-template … rake aborted!
    Errno::ENOENT: No such file or directory - connect(2) for /var/opt/gitlab/redis/redis.socket
    /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.2.2/lib/redis/connection/ruby.rb:180:in `connect_nonblock’

How do I solve the problem?

GitLab 8.10.1 is very old and far from being supported, so you might run into documentation that doesn’t apply to your version. But I think the only (somewhat major) change to that process is the advent of the gitlab-backup command, but it’s just (or at least was when I looked at it) a wrapper around the gitlab-rake gitlab:backup:* jobs, so as long as you use them, I think you’re good.
By best guess here is that redis is not running.