Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1x6O7Y-000CXl-2A for pgsql-general@arkaria.postgresql.org; Tue, 15 Sep 2026 08:02:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1x6O7X-000MoJ-2e for pgsql-general@arkaria.postgresql.org; Tue, 15 Sep 2026 08:02:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1x6O7X-000MoB-1g for pgsql-general@lists.postgresql.org; Tue, 15 Sep 2026 08:02:27 +0000 Received: from mail-ed2-x10.google.com ([2a00:1450:4864:33::10]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1x6O7U-00000000X9x-0yTx for pgsql-general@postgresql.org; Tue, 15 Sep 2026 08:02:27 +0000 Received: by mail-ed2-x10.google.com with SMTP id 4fb4d7f45d1cf-6a9b63af480so495020a12.1 for ; Tue, 15 Sep 2026 01:02:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1789459344; x=1790064144; darn=postgresql.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:content-type:from:to:cc :subject:date:message-id:reply-to:content-type; bh=so2xby5K9Nw+G/5BgGE0XOY9qfQb6QwAuovvuq6zmNU=; b=kK4A7cS8/Jf0wCr1TXGS98SW8HVsqwgm4Q6iyHQcNxFQswtrKczMOefX0rWNTGGh10 vn9vNZC/HXcB623bJEA01NANEFQd2xmjNVb9A/wE6d0RNXuRpxkdzZLkDG78QyM33puw KAs0wDz26iTND0ciGuaIEfeFK3BcbnVJcjpxwvlzHI2PqyiRayBo1U6PJenKBPUoIj8p 5CAU8v4g/0HFwBFPztOdL+K5QnFMft26u7xcGHFFj0EsNokuJL5aQLP5m6wZpX8rPr4i 1LwoSJM0+J2JWovwSkE+loWdSUlFVmBKla+1bBnj96zrPbJce5Td5q+RZ54RI+bgucAA JMGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1789459344; x=1790064144; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:content-type:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=so2xby5K9Nw+G/5BgGE0XOY9qfQb6QwAuovvuq6zmNU=; b=oG+Y2nnX/Ei7cGE3JwcAb6pnk5X1go6U+taYKgM+JXRGwXx87WBBK/sNHciaW2PSIu JZqc1kXJcMhpuP5c9Otavq6OJoHpmupUzV7STy8BAfdAN5IW3XgTysYYb/vBBNkxjLEI XtwWjPGC+emAfCmOdLHKODk2hdksLc7hamyOsV+MLSsbeHs6wj7VUU3KpZT8b0eCX0aM SOAFiVToXxM4WPjGaE/wgQIafmJRJUGNMj4yUK9+Nc25T+1TAEzAIV9Uf8MZrXZE1o/4 C26RpkwdoEXq9tiVjcen9259+RUHDHJ4HF40OUDi3FgoiRzq6wyypJow2K+wjGk4sSgG T9DQ== X-Gm-Message-State: AFuF++mVye1cG3aUuD0ERxAyujx3lp0vS6Tnj+Ic2mYZqvmkHk2eY7c3 BV9DwfvIJZnA+gvUcjb9hK8MElsuw6Q+0rWErTFftZVWtNQ4z0m8c0mm X-Gm-Gg: AYBFou0lgzYf2ivdPrtlxoicPm7aeQH9ModdP1c46I9TA5ZRs6f6UYKe+lUXxPNfpLK VWw315Sxv0ERMqlfwWzQPgYWUcvXC/l7uUEBBPEGIaOe99XuKiINNnntByRoXbXixTMHG+A9atJ CLG2mIhfef163rDYI41ro8QL4e/P1uKNSKIyysHFa4JFHsp3h7EZemyWheaTE55oy6i7yVdoLj9 z68m3dcLofj/QBaYXLA6r6tEyGEO7+KfPMWZavuq9BtPnrdhiO1ygaXVMKbsUePHgWjoQ4jGaq/ UW34XoPyG8NKBKvKmKlI9q7Y+0DaUuRQf+lyGuU8FH3lxnGSxXBsvXQ3UosOB8RjRfEJjiz9FHp tzlW2xmLA+VVWuUZpM4J5J0Qp3HgQeclhY4vRfOHr20Dx6a7ZqskKteHwBL2d0cX0v7zMWxqzvF Qe8LGMiQoVKinaVCOwx5LR2OvgTbjxlW25+rPsOHpuCX+KIJ7BlqZN9FJpkMKvsPR8BTTETUXU5 Jt3qSK90q3GWoTuqvzw X-Received: by 2002:a17:907:ea91:b0:c29:5637:ed76 with SMTP id a640c23a62f3a-c29b86fab6dmr403639766b.2.1789459344111; Tue, 15 Sep 2026 01:02:24 -0700 (PDT) Received: from smtpclient.apple ([188.212.112.125]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c29660219d0sm533927466b.18.2026.09.15.01.02.23 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Sep 2026 01:02:23 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.700.51.1.1\)) Subject: Re: Upgrading 6 versions between 2 systems From: Alban Hertroys In-Reply-To: <8598df-508d-fa22-5866-35423256b1b3@appl-ecosys.com> Date: Tue, 15 Sep 2026 10:02:13 +0200 Cc: pgsql-general Content-Transfer-Encoding: quoted-printable Message-Id: <0392D5EB-21FF-4BE4-9FAC-A4F7546C88D3@gmail.com> References: <8598df-508d-fa22-5866-35423256b1b3@appl-ecosys.com> To: Rich Shepard X-Mailer: Apple Mail (2.3864.700.51.1.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 14 Sep 2026, at 23:44, Rich Shepard = wrote: >=20 > On Mon, 14 Sep 2026, Ron Johnson wrote: >=20 >> Yes. Note, though, that a single .sql file is the *slow* way to >> export/import a database, especially if it's of any size. >=20 > Ron, >=20 > My databases are small and I'll transfer them one-at-a-time rather = than the > whole custer itself. Rich, Just a little heads-up: If you=E2=80=99re dumping one database at a time, that doesn=E2=80=99t = include any of the database roles or users you may have added. Roles = (and users) are stored with the cluster, not per database.=20 That=E2=80=99s where the below mentioned `pg_dumpall --globals-only` = feature comes into play. You don=E2=80=99t need the parallel stuff, but = the globals bit could be important. With the rest cut out, that leaves: >=20 >> Current system: >> cd /path/to/backups >> pg_dumpall --globals-only > globals_127.sql ... >> New system: >> cd /path/to/backups >> psql -af globals_127.sql Regards, Alban Hertroys -- If you can't see the forest for the trees, cut the trees and you'll find there is no forest.=