sudo rsync -av /var/opt/gitlab/postgresql /data/gitlab/git
postgresql[‘data_dir’] = “/data/gitlab/postgresql/data”
postgresql[‘dir’] = “/data/gitlab/postgresql”
postgresql[‘home’] = “/data/gitlab/postgresql”web
gitlab-ctl reconfigure
gitlab-ctl restartsql