I have a redmine postgresql folder backup (no dump) from postgresql 9.4 and want to move it to a new server with debian 10 (buster) with postgres 11.
On my debian buster server I tried to get this old database running, so I installed the old postgresql-9.4 there with this tutorial: https://wiki.postgresql.org/wiki/Apt#Quickstart
When I tried to start the old cluster it said:
$ pg_createcluster 9.4 main --start Configuring already existing cluster (configuration: /etc/postgresql/9.4/main, data: /var/lib/postgresql/9.4/main, owner: 117:120) Error: move_conffile: required configuration file /var/lib/postgresql/9.4/main/postgresql.conf does not exist
I managed to start a new cluster2 with this instruction: https://stackoverflow.com/a/48624460/1069083
But that one is empty. My old main cluster contains all my data.
How do I start the old main cluster?