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 1nra77-0004kp-P0 for pgsql-general@arkaria.postgresql.org; Thu, 19 May 2022 06:58:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nra67-0007xL-Q2 for pgsql-general@arkaria.postgresql.org; Thu, 19 May 2022 06:57:23 +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 1nra67-0007x6-Az for pgsql-general@lists.postgresql.org; Thu, 19 May 2022 06:57:23 +0000 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nra62-0005KG-C3 for pgsql-general@lists.postgresql.org; Thu, 19 May 2022 06:57:22 +0000 Received: by mail-ed1-x534.google.com with SMTP id fd25so5824006edb.3 for ; Wed, 18 May 2022 23:57:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20210112.gappssmtp.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=MWoNuFScEGnlNzYaLwT161UJm6j+qcQNhe5RGNNdQvo=; b=z9hkCK25910EtfGZDI0CtcaINvVFRjhXZClbpkBvFC8O2zde6690F9ADxv67FQVOkb QHDirpNSDcqrso0ddMxPsgSku0s8xb5M0j31ulAEj0Ii7+vdEcONMrIDPP6XvhKYeZJr fhKz5l1729bHlmgRjv4OshGUDM4szBoa1OP1LCIQJVk8X0N5yATS6X0zMUaPMb67HTcj KKMXOE4eDv6B996iQf5Agk4s85cej8XvZucZQu8v6qJuNX5d1UPJtrJ+HG+jzvOCMAU5 k0rcIq6o62YfymI8fIOrNNVlTunxyoPWO30aEpKg5DbtGqU/sVwxbEhSv43sWEowpYhj eglA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=MWoNuFScEGnlNzYaLwT161UJm6j+qcQNhe5RGNNdQvo=; b=YsY7N8zzuajl6yaweWhb70kio09NPCrq9tosYsu30US+lCBATol2VFbDKdjTkXEEKG 8Sh5QMhXa8cGYJhWuEWk16BoGk4dYRiVLgHn0QNSVBIBCXeSE/jX+7UUcNj5xhNp1WOc dBWobWi+RtFecU4pJrq5fZb9fo6F4ReyBdWBVxr8xYIWqFolimz+eLTK+/DDb4+qcjhb jBM6P2Xw5sM0LD3Ey4TvhJdpMsAIa84fmhCAcuANmYroNqGlIV06+K7shuW3IBaRHAuN TCP/1qVpj82klawiREDsdJLV/xHI4aMpKanrOQLkLclvUXXeIp847fo81cX42nWVUokl CeFw== X-Gm-Message-State: AOAM532et6e90nRgM3MlZmY8/FaE7sdl7gCk49PST9LPJOZsUFrpDfWU Ijck6vodHAcVVqPXa79KqoZMvw== X-Google-Smtp-Source: ABdhPJzEQoTxCguIibdo4Y5znQx3ef3D19mPHNtUz0N7YLc4aWuXqmaQjWRmRwQ0y8tYsLU7rV6XBA== X-Received: by 2002:a05:6402:1485:b0:42a:c1d1:3d3e with SMTP id e5-20020a056402148500b0042ac1d13d3emr3693079edv.258.1652943435773; Wed, 18 May 2022 23:57:15 -0700 (PDT) Received: from dynamic-pd01.res.v6.highway.a1.net ([2001:871:5e:1f41:c34f:9eb1:7394:db5a]) by smtp.gmail.com with ESMTPSA id l14-20020a056402028e00b0042617ba63d0sm2368333edv.90.2022.05.18.23.57.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 23:57:15 -0700 (PDT) Message-ID: <34e97beb7f8e2afbe463b42dced0d6b73364e568.camel@cybertec.at> Subject: Re: About pg_basebackup From: Laurenz Albe To: =?UTF-8?Q?=E8=8F=8A=E6=B1=A0=E7=A5=90?= , pgsql-general@lists.postgresql.org Date: Thu, 19 May 2022 08:57:14 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 (3.42.4-2.fc35) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, 2022-05-19 at 13:18 +0900, 菊池祐 wrote: > I executed the pg_basebackup command to set up a replication configuration in postgresql, > but the following message appears and replication didn’t complete. > > 2741/2742 tablespaces (/var/lib/pgsql/9.2/bac12609150596/12609150596 kB (100%), 2741/2742 tablespaces (/var/lib/pgsql/9.2/bac12609150596/12609150596 kB (100%), 2742/2742 tablespaces > NOTICE: pg_stop_backup cleanup done, waiting for required WAL segments to be archived > WARNING: pg_stop_backup still waiting for all required WAL segments to be archived (60 seconds elapsed) > HINT: Check that your archive_command is executing properly. pg_stop_backup can be canceled safely, but the database backup will not be usable without all the WAL segments. > WARNING: pg_stop_backup still waiting for all required WAL segments to be archived (120 seconds elapsed) I guess that your "archive_command" is hanging or failing. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com