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 1l1bqS-0003PM-Qn for pgsql-general@arkaria.postgresql.org; Mon, 18 Jan 2021 21:13:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l1bpv-0004ry-BJ for pgsql-general@arkaria.postgresql.org; Mon, 18 Jan 2021 21:13:19 +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 1l1bpv-0004rq-3l for pgsql-general@lists.postgresql.org; Mon, 18 Jan 2021 21:13:19 +0000 Received: from mail-ot1-x332.google.com ([2607:f8b0:4864:20::332]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1l1bpt-00061b-3w for pgsql-general@lists.postgresql.org; Mon, 18 Jan 2021 21:13:18 +0000 Received: by mail-ot1-x332.google.com with SMTP id i30so4769658ota.6 for ; Mon, 18 Jan 2021 13:13:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=y9tbB7GOLQM9Srwj/1AVvmEL0xIXHRZYhqPidyz15bg=; b=nK6iXKH+iV/yVkYHUGoy9kPVbq2H+SzJL9S4f9cf7pp5UlzD4eF0tLuvnAVI/JoAr2 0oeO06jYxDA7vociNtDbta6Da72RP2C9SeqFPbtmogSnwubLlnkeEhy47b8WAj0D9JSO 6bEfNFyAqEaBF2VZIJc0EBzytR79wGzHQGz9MGh7dquwXyJiPSKAXvnFimT3g2VbdQDt EXuJBkM06Hyp9avkZYvCz/ynSg363lYYPUtec8Bq2UcnhMyHuyhu0mox2esvbQNVFEo9 ViDmpCkvbUkqboE9AcAi9a4SWvRvi/38ywGAIG+8sMvgzDRonF6qSm//J5nCiRUyEJH1 GO8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=y9tbB7GOLQM9Srwj/1AVvmEL0xIXHRZYhqPidyz15bg=; b=CMy3R8XqkWOpO/q8yvXMKDedLObPrx4NLLuhZUvIdCkw+B+rJF4jdF6G5pUJB2Bi4y nCFx7Y4SeGnKfzio49HvfOL0OHObA3u8cJ64ZqZ+uOwJm0vuBL+2aQJuwiH9az0S7woT n0e/EcJKWvAxNrUzMd525ZtnqV0JZVgYXA1I/3vpiiyzzueowrePycx5fBWp8RZL30zP ZSsTgz+PQcblR0PbIyAIvk3wWFchW0id85xKclJXqSdRp8zUcMDpDpDQtYFkyxn3U+GL M9b4t9jlEhItB7cdwEVQxedLsS/zdNCUVS2ssFpXD1SK/RqRvGmXVIc05wTfrNVyxrF4 r1aQ== X-Gm-Message-State: AOAM530IdPu4IvkUxjDwCy3QLqoauEtWrWbhMasjqmGBQr0raa2cDLzc lfQ5UzdtvIrq7gqb3mGT8r6z/E7cb08g0g== X-Google-Smtp-Source: ABdhPJw+zBxu10Z8Rpium54uCAxmYzgkzqvkg0Pt+WyKWAT4DbgBqgqgRpQwRZT96pwahqj88UXV1A== X-Received: by 2002:a9d:5f8b:: with SMTP id g11mr1070238oti.327.1611004395093; Mon, 18 Jan 2021 13:13:15 -0800 (PST) Received: from [192.168.88.10] (ip174-67-141-204.no.no.cox.net. [174.67.141.204]) by smtp.googlemail.com with ESMTPSA id f18sm3997927otf.55.2021.01.18.13.13.14 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Jan 2021 13:13:14 -0800 (PST) Subject: Re: System (and DB) upgrade problem., "part 2" To: pgsql-general@lists.postgresql.org References: <60bec2fa-3411-e676-2012-45c26f40eab7@wp.pl> <6262bd4a-5d11-f0ec-0727-d6a0c10fb7f5@wp.pl> <2776d0f2865e954c938b68bf4bd15f81e5224668.camel@cybertec.at> <20210118205820.GA29680@momjian.us> From: Ron Message-ID: <953c2e28-100a-a6dc-794b-46ecc4d33317@gmail.com> Date: Mon, 18 Jan 2021 15:13:13 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210118205820.GA29680@momjian.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 1/18/21 2:58 PM, Bruce Momjian wrote: > On Mon, Jan 18, 2021 at 09:53:33PM +0100, W.P. wrote: [snip] >> Ok, so "step-by-step": >> 1), I copy / move "somewhere" OLD DB files (*/pgsql/data/* for -d option), >> 2). Do initdb / postgresql-10-setup to create NEW empty base (in >> /var/lib/pgsql/ or somewhere, for -D option), >> 3). do pg_upgrade. >> >> Is that correct? >> >> Is there somewhere "guide for 9.x -> 10.x CONCEPTS changes (and upgrade) >> guide"? (clusters etc). > The pg_upgade docs have all the steps. The documents tend to assume the reader thoroughly knows Postgresql, and that's manifestly Not True. -- Angular momentum makes the world go 'round.