Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kvfQ2-0004eF-5v for pgsql-general@arkaria.postgresql.org; Sat, 02 Jan 2021 11:50:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kvfQ0-0005Q5-Hm for pgsql-general@arkaria.postgresql.org; Sat, 02 Jan 2021 11:50:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kvfQ0-0005Py-5V for pgsql-general@lists.postgresql.org; Sat, 02 Jan 2021 11:50:00 +0000 Received: from susanne.redcor.ch ([178.63.103.72]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kvfPx-0007YO-2N for pgsql-general@postgresql.org; Sat, 02 Jan 2021 11:49:59 +0000 Received: from [192.168.1.39] (unknown [178.38.153.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: robert@redcor.ch) by susanne.redcor.ch (Postfix) with ESMTPSA id 1E011A02B6 for ; Sat, 2 Jan 2021 12:49:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=redcor.ch; s=201908; t=1609588195; bh=ihL7O8MGpiVFFWq/1s1c5CATHen3TVxCYDLTvtQQHSU=; h=To:From:Subject:Date:From; b=V8YsMlZeRcpPh6Uc6rpPjouMlmXKHOMI6BFxy7ATIdcoTsbT/sUCgKEHOX8+HnB0k XzFDtwN/3OMLnPzfRhP6PqtUIbuVr/bYIwp61gQMKRpVUauX9ZYv0oBcw9TcCNTmJd 1e5UqsMBFW3k7S6VmnUt0fUBPvkWP74C4dtmLWgRS4G1avt99FblaFXHk4uG2QW9cI BTQUY4SYhVpoqvm9knzgYDlgEIs0mOuDDv37c02hLCS8hjVIlK1JvI/9VP7l4qGXtC 6TWsPJOz49BhoTx/qRL/vCUGW8HBQTsOVJ4y63LAV0PeUHUSMJlHvlJ/I/YOe9WLgx 4/FM7azdtxZmQ== To: "pgsql-general@postgresql.org" From: robert Subject: Restoring 9.1 db from crashed disk/VM Message-ID: <39f5516d-78eb-9fba-0aea-a8daa1d6b204@redcor.ch> Date: Sat, 2 Jan 2021 12:49:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Friends I hope you had a good start into 2021. I would like to get some advice on how to restore a 9.1 DB, of which I have the /var/lib/postgresql with some 20GB salvaged. Now I find now easily usable 9.1 PostgreSQL installer anymore. How should I proceed to get that data in a newer PG loaded? Could I just install a 9.5 and  copy the salvaged folder into /var/lib/postgresql/9/main Or could I add the folder to my PG 12 installation like: /var/lib/postgresql/12/main                             /9/main and tell PG 12 somehow to read the data for the PG9 folder? Thanks for your insights Robert