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 1lWgVb-0006xd-SD for pgsql-general@arkaria.postgresql.org; Wed, 14 Apr 2021 14:28:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lWgVa-0007UZ-Fm for pgsql-general@arkaria.postgresql.org; Wed, 14 Apr 2021 14:28:46 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lWgVa-0007US-4q for pgsql-general@lists.postgresql.org; Wed, 14 Apr 2021 14:28:46 +0000 Received: from stz-bg.com ([46.40.123.212] helo=mail.stzbg.com) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lWgVV-0008DQ-7x for pgsql-general@postgresql.org; Wed, 14 Apr 2021 14:28:45 +0000 Received: from www.stz-bg.com (stz-bg.com [IPv6:2a02:6800:0:99::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) (Authenticated sender: condor@stz-bg.com) by mail.stzbg.com (Postfix) with ESMTPSA id 06A142E1295 for ; Wed, 14 Apr 2021 17:28:39 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stz-bg.com; s=mail; t=1618410519; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DDbg6h+ayGZgqbW16i0+ib3EWIcnB+coJiEMeC7oTJs=; b=OOSoXqt5oW1Edmt+nrwE56iUIOtMJg35slfAogMt/+cmpevOwgTUkdgvdCGSZIFEKcyWYJ JfwJLSzFT2/oqk7RQpQOlmoL6Dxv9aV59J3COJYfY605NhLbOyR/stl9XEuE7JTt3NZWYv 0RGhefLhNkEscYKsb3zqmK/5pHp1g2U= MIME-Version: 1.0 Date: Wed, 14 Apr 2021 17:28:37 +0300 From: Condor To: pgsql-general@postgresql.org Subject: Question about PG_CONTROL_VERSION 1 User-Agent: Roundcube Webmail/1.4.11 Message-ID: <53e38022d2b31fafe44750fac5049d80@stz-bg.com> X-Sender: condor@stz-bg.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello, I try restore from old hard drive an database. The system is not working, so I install new server, install postgres 9.0.3 and try to copy postgresql dir to new location but I receive error: 2021-04-14 11:47:04.205 UTC [10285] FATAL: database files are incompatible with server 2021-04-14 11:47:04.205 UTC [10285] DETAIL: The database cluster was initialized with PG_CONTROL_VERSION 1, but the server was compiled with PG_CONTROL_VERSION 903. 2021-04-14 11:47:04.205 UTC [10285] HINT: It looks like you need to initdb. How I can start the database or a way to check which files are used for database that I need it and copy only them ? Did I have a broken files (probably) ? Is there a way to copy only needed files or some way to export the data ? Thanks, HS