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.94.2) (envelope-from ) id 1sm76v-003LTp-65 for pgsql-admin@arkaria.postgresql.org; Thu, 05 Sep 2024 07:40:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sm76t-005RZ1-Ng for pgsql-admin@arkaria.postgresql.org; Thu, 05 Sep 2024 07:40:56 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sm76s-005RYk-Fg for pgsql-admin@lists.postgresql.org; Thu, 05 Sep 2024 07:40:55 +0000 Received: from mail1.fxdms.net ([103.19.144.26]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sm76k-000F2D-GW for pgsql-admin@lists.postgresql.org; Thu, 05 Sep 2024 07:40:53 +0000 Received: from pps.filterd (melmxs002va.fxdms.net [127.0.0.1]) by melmxs002va.fxdms.net (8.18.1.2/8.18.1.2) with ESMTP id 4857W999032121 for ; Thu, 5 Sep 2024 17:40:41 +1000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fujifilmdms.com; h=content-type : date : from : message-id : mime-version : subject : to; s=fb; bh=IDQuaIdOONKQHCFq72tJrz4ZYNxXow0ILl8ssN4YkY8=; b=mblxwGCFMA0LoXCmh0R2kqN7pCV05W9zYUugcYtubRQ5XQ09Oz76S+EEavRleDrcTdJK dhuvaZIdd+DaL2fHI2BZ1ld+n085EKmquZBu8LpyM95okkUvRFoYpoSYLqzDXWv5xvTe iT2+UWIFeDAuiWvGw6HriLK/mYZJHdPERRv1Wf8W8JWC4zg0ol+S2qKGeWjHVeqW9RaC awsFbZ38yV7aJhtCMR3S44EKPe7dnD8DeUriU+SK836JJKEq6jwLuSxiCCyjJCuuIWsd d9uWbj1x3dxG5+oMm36FfIKuK9MesW5usK4D17VHArq3ClC5AP8VpN/LoRm0TxlQoZ/B 7w== Received: from sy5pr01cu010.outbound.protection.outlook.com (mail-australiaeastazlp17012053.outbound.protection.outlook.com [40.93.136.53]) by melmxs002va.fxdms.net (PPS) with ESMTPS id 41bj7892qh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 05 Sep 2024 17:40:41 +1000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=R/7YzHVf/bZn81q+Q+bOhpRGegB/03V3JV/uEa3x/9a3r6WolVy2z6mQftU3zWzPi+mCUP9dIvXJ2o6ToPmMMhzXql8IgjwJsAub7rlgit67OhVGu0ppX0UNR1EyPhmlw9fnl2JYghxVMlx6cJZYYXPHDuSgw5r8PhsePKAkrhCnA546S4cZD3lgudvkUwF0APyRnXIDxeXMPuvvxXADg/9CuTxfiQuLmC8oYjJXBdtSDtAI8X3VmvjGPUPC6j8LNoUdXmzkoEvlSOQ9bfuX9j9H/QXN3fdJFcTW6IxkoBMH7E3FD5WX3aQ7qF6L01Y4UDSkmgJe2W6N65gPPTeI1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=33+RTdqQfi57nvU4n1uTiXEfOJmXH6TdxKx0I2p8r1Q=; b=C9mp2XMJn1ZUHLKibM85kRkPwPKCBr+ud//Tvdxej1qu6B5ZvIvX98TUH9ZKFbpV45gCGm2zKnTQK8Sgy2Nq0QjBXriZdwRg3lWxBFtpoqzGq07LXH0OlXuIcLr5VKAK4M20bAGar9agqSNkwyQ6uxGX8dQ4ieOrxsJETfJJzVs3Yws7E1xo435Swen381T4VaPY/AF0wpYoyGPru6LFQU46eW79+UtRcrs90IDjkauBx6Kz1fsl6/iXHv3h8e4MJkpDQk0EhAiEjmYlcy865x6Q7DZtKJNUttjtTLu1/UUCXyCS3IJ0phKlJU+2YJEMx5NuQvM919qOxFKCxyIv+w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fujifilmdms.com; dmarc=pass action=none header.from=fujifilmdms.com; dkim=pass header.d=fujifilmdms.com; arc=none Received: from SY0PR01MB9296.ausprd01.prod.outlook.com (2603:10c6:10:224::16) by SY7PR01MB8877.ausprd01.prod.outlook.com (2603:10c6:10:214::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.14; Thu, 5 Sep 2024 07:40:38 +0000 Received: from SY0PR01MB9296.ausprd01.prod.outlook.com ([fe80::4ce:9a4e:61f:9424]) by SY0PR01MB9296.ausprd01.prod.outlook.com ([fe80::4ce:9a4e:61f:9424%5]) with mapi id 15.20.7939.010; Thu, 5 Sep 2024 07:40:38 +0000 From: Samir Mamun To: Pgsql-admin Subject: pg_basebackup: error: could not create directory Thread-Topic: pg_basebackup: error: could not create directory Thread-Index: Adr/ZmbHuh8ZR2saQYiuEflWxL22DQ== Date: Thu, 5 Sep 2024 07:40:38 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SY0PR01MB9296:EE_|SY7PR01MB8877:EE_ x-ms-office365-filtering-correlation-id: 4248f03c-c298-4a0d-aa67-08dccd7e096e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|366016|1800799024|376014|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?eXCLeby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sg2dmE0xjBsFQlkHvh?= =?us-ascii?Q?22keyLdCc9StG1EqXqJ26BqqmmLCpfkplPEXgW38nKoHO++cPyX5AT6m5XKb?= =?us-ascii?Q?2wrHUkbOajQz9/MWJJApBddpMTzafwtp6atd1yj49gW3oFkqRcI6LSJD7niY?= =?us-ascii?Q?Ztr7CKwAWXoaBkMssqVr5s+Ge6PmIl2YCXI8pb+yxXdORUOXxTsjMiXVXsZ2?= =?us-ascii?Q?m8TNbvjuQ/C44AgELBMe6YQXkKGUAWydjRvjFrFaAGe4jGYjiHyRfLaDhUvE?= =?us-ascii?Q?LOYMaSxYDTE25wegpB6K9H8o/e/ZyD8g0Nwf9CXTDd2Ta2F4tHi2hhH04EAE?= =?us-ascii?Q?U81miGz5DpsWF4CV4EKs8mqwjh/K4Af2BeTbQVdVsDkaVUxFdcfCfOaCK3bZ?= =?us-ascii?Q?8qjnNeb3UNhizIgzwPeWFlUrNXyXu3yc3Z8NMCyNI0Sk4dvtYZ2Hy8kxiE0i?= =?us-ascii?Q?Fww0ApRN+kbqUHajABD7hxS0ukNNff387Ot7QBXjCawZ5NNcjMbJwqjrJWtf?= =?us-ascii?Q?LrwXcQZSaQV1oqi2KsFZDcLmCyXgCjoG/0f3ix6OMYOc2V7odQ=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SY0PR01MB9296.ausprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(376014)(38070700018);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?sZw7TRstMjrVuPuPRNtVBjSf1ID981GVpyEK/5hDmnMc+5yyr8CyVaZVDMt6?= =?us-ascii?Q?mM+Qu/MFw8Dn9WtCWFSOc7tYFdowFsCJk89qcbcPXlKMc/PB4BngZUQ+INd9?= =?us-ascii?Q?dXBJ9BNt56NK+EX+qP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Zr56?= =?us-ascii?Q?70GyMDIcPqUv1826p+0XMoxq28BsZF/PDbQL+AwXO0XSLBiD9EmqqtsLJWSb?= =?us-ascii?Q?29F3mEjRaeH5aBT+ukzLzYDJXgQqhC+DQylCBqYKn5D007ZiJ1J4c5zJeldL?= =?us-ascii?Q?cXU1A8ts3+Joyn+TqenrNIW7q4w6X/ov3VXa16mifGkATv3fVtA9LXZjjfKV?= =?us-ascii?Q?SuEpoWWdtdwi0UHjB+0QY7nSocSpFS9pTx71HHJmMjTQtYtbiHjdwreI8BJQ?= =?us-ascii?Q?Hr38LpAT56ZIbL9OVqKvYjelJrNJ960SPo1O3927sgn2zg4jzaEQ+I5c/lrU?= =?us-ascii?Q?ggf0W0+9wuQEyEHYZVVmw4K9Y+M0v5+odtrfATTWne0nPSS+ZtrTprKZlPF+?= =?us-ascii?Q?kJsKhnAT6PB/I690kC0JFeogMtwCBr92GN7Tz/KWS18GQsUMRd9QpKrC4MKJ?= =?us-ascii?Q?f4oA2dlOI0lp+8VSaI4EGJH6njBEkU/gtjallazjrGVY6aveX8U+hIM37tG0?= =?us-ascii?Q?HV621hHqX8wMGIwbOvDY4RlkqDisqry6d3aNwD7kBCtluIj2PIzp3D977Fw3?= =?us-ascii?Q?GlTqPLjP/oU4xd+27FNsXRyH7l7Qz/DbSRql3pX0?= Content-Type: multipart/alternative; boundary="_000_SY0PR01MB9296C4A820754E1CB0CB0EADD29D2SY0PR01MB9296ausp_" MIME-Version: 1.0 X-OriginatorOrg: fujifilmdms.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SY0PR01MB9296.ausprd01.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4248f03c-c298-4a0d-aa67-08dccd7e096e X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Sep 2024 07:40:38.7376 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 9d3fe9c8-fb68-40e1-9189-2c3b54d5e658 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: HwZVKG473i8+iBeUdh2AkTeHsbvADUBCLh9o3hphKUYOLmHJlfSkMY6o6Kbksr+ld8PMWTJMqWHUd7YEA2GPnw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SY7PR01MB8877 X-Proofpoint-GUID: CJY8C0ZZ6EYyRnfhAAL-VVzK7oW3Y1YW X-Proofpoint-ORIG-GUID: CJY8C0ZZ6EYyRnfhAAL-VVzK7oW3Y1YW X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-05_04,2024-09-04_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 mlxlogscore=452 spamscore=0 adultscore=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 malwarescore=0 clxscore=1011 mlxscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2407110000 definitions=main-2409050055 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --_000_SY0PR01MB9296C4A820754E1CB0CB0EADD29D2SY0PR01MB9296ausp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Need help with replication setup, pg_basebackup failing with: pg_basebackup -P -R -X stream -c fast -h -U -p -D -v Password: pg_basebackup: initiating base backup, waiting for checkpoint to complete pg_basebackup: checkpoint completed pg_basebackup: write-ahead log start point: 6/67000028 on timeline 2 pg_basebackup: starting background WAL receiver pg_basebackup: created temporary replication slot "pg_basebackup_3720137" pg_basebackup: error: could not create directory "......": File exists pg_basebackup: removing contents of data directory "............" pg_basebackup: changes to tablespace directories will not be undone Kind Regards Samir IMPORTANT NOTE: FUJIFILM Business Innovation Corp.'s and its affiliates' em= ail transmission, including any attachments, is private and confidential an= d may contain legally privileged information. It is for the addressee's att= ention only. If you are not the intended recipient and have received this t= ransmission, you must not use, edit, print, copy or disclose its contents t= o any person or disseminate the information contained herein or hereto atta= ched, and you must notify sender immediately by return email and delete thi= s transmission from your system. Any confidentiality, privilege or copyrigh= t is not waived or lost because this e-mail has been sent to you in error. = We have used reasonable efforts to protect this transmission from computer = viruses and other malicious software, but no warranty is made and the sende= r takes no responsibility for any loss or damage incurred from using this e= mail or the information contained in this email. --_000_SY0PR01MB9296C4A820754E1CB0CB0EADD29D2SY0PR01MB9296ausp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

Need help with repl= ication setup, pg_basebackup failing with:

 

pg_basebackup -P -R= -X stream -c fast -h <node_name> -U <user_name> -p <port#&g= t; -D  <dat_location> -v

Password:

pg_basebackup: init= iating base backup, waiting for checkpoint to complete

pg_basebackup: chec= kpoint completed

pg_basebackup: writ= e-ahead log start point: 6/67000028 on timeline 2

pg_basebackup: star= ting background WAL receiver

pg_basebackup: crea= ted temporary replication slot "pg_basebackup_3720137"=

pg_basebackup: erro= r: could not create directory "……": File exists<= /o:p>

pg_basebackup: remo= ving contents of data directory "…………"

pg_basebackup: chan= ges to tablespace directories will not be undone

 

 

 

Kind Regards

Samir

IMPORTANT NOTE: FUJIFILM Business Innovation Corp.'s and its affiliates= ' email transmission, including any attachments, is private and confide= ntial and may contain legally privileged information. It is for the address= ee's attention only. If you are not the intended recipient and have rec= eived this transmission, you must not use, edit, print, copy or disclose it= s contents to any person or disseminate the information contained herein or= hereto attached, and you must notify sender immediately by return email an= d delete this transmission from your system. Any confidentiality, privilege= or copyright is not waived or lost because this e-mail has been sent to yo= u in error. We have used reasonable efforts to protect this transmission fr= om computer viruses and other malicious software, but no warranty is made a= nd the sender takes no responsibility for any loss or damage incurred from = using this email or the information contained in this email.
--_000_SY0PR01MB9296C4A820754E1CB0CB0EADD29D2SY0PR01MB9296ausp_--