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 1srYaJ-002ib4-N2 for pgsql-general@arkaria.postgresql.org; Fri, 20 Sep 2024 08:01:49 +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 1srYaH-000aVC-8o for pgsql-general@arkaria.postgresql.org; Fri, 20 Sep 2024 08:01:46 +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.94.2) (envelope-from ) id 1srYaG-000aUy-NA for pgsql-general@lists.postgresql.org; Fri, 20 Sep 2024 08:01:46 +0000 Received: from mx4.stadt-zuerich.ch ([194.56.33.13]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1srYaD-0009MV-Oa for pgsql-general@lists.postgresql.org; Fri, 20 Sep 2024 08:01:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zuerich.ch; i=@zuerich.ch; l=7459; q=dns/txt; s=zuerichch202311; t=1726819303; x=1758355303; h=from:to:subject:date:message-id:mime-version; bh=Pgh4zSyJEdGhzhVP++SR8pK1cnoUriDvSDmpW6PhKL4=; b=lsTTwAlLduXxs1aym55U3mCZx9gjj54L0iXnz3NDmtnK6g/tSQTRKxgs SLcaPKtJkTAlu0ane7RLzVN0zu5eXLA+zn7KQWusfG1xFsbzVfMXKIKS5 pujI7lGk0x5UlRLdVz61JT/B5Bc+nW8urYBfStEjkO9D+0M/6ns+ezz76 sGv0xWHkjM2gLhFejKHVuTguIArvjK89ExGxiTVU74wY9Sf+x7ud+3/Cu Io7cnBmqSs0bX5mSCtCKFnusZfbzf+RZMf1aw5+FmO15sFFSUKG359vpa OktPZb8UXBcuQ0jV2wk5tTCRa0K9f9d7SrlrN1UkfUeHf60VIeCEwS0ZS A==; X-CSE-ConnectionGUID: t97NJa8rScefDc+BOjoqYw== X-CSE-MsgGUID: ooo7qhI8SauYBs0G0Z8Vmg== X-IronPort-AV: E=Sophos;i="6.10,243,1719871200"; d="scan'208,217";a="62603035" Received: from unknown (HELO szhm35325.global.szh.loc) ([10.34.130.221]) by mx4.prm.szh.zone with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Sep 2024 10:01:42 +0200 Received: from szhm35325.global.szh.loc (10.34.130.221) by szhm35325.global.szh.loc (10.34.130.221) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Fri, 20 Sep 2024 10:01:40 +0200 Received: from ZRAP278CU002.outbound.protection.outlook.com (10.7.48.75) by szhm35325.global.szh.loc (10.34.130.221) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11 via Frontend Transport; Fri, 20 Sep 2024 10:01:40 +0200 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ccUa/otcC6SQFEyu1Tu6EHqaNhGI+Oi/2YRoeEfUpe2765cSL9SiK1T1ROgvmdFbs5jCQEiiEC8b2RvBVDEZbil+TdSulfnTyf4vrh8kg9kswA38EhiPGKcLf7TZxAZ/9Vv6ZfUZT6O2xlpEaSTPbT5vsBuz/ItfU2m1f4BydDcClMN1wX3468e77lKd1zwFH3yD4JldLSJJ2ArUPBPhFVDLcbRtJIudSYCqiWFYv7G14iaG8fhfS/YlGe9m4eTiREf3HCmN3ZtUvHc9G4qXrBLLsccv7JcBxAwnlaltBv3LjhnJHhWTbW2cXymsmNRgK2PDKtRmL/GnQJXAIkRNhQ== 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=Pgh4zSyJEdGhzhVP++SR8pK1cnoUriDvSDmpW6PhKL4=; b=XTMhgd0L109nC+ib9TOuIi0jiFXqMq32uSvWfeME0yFnrGYYrBWFiT1piT/1sftrpt6xu1nINpGO1u3Vvkvn5n+I8WwyV8PIljOpFavRFbOdRjvKKPWmrU42bVhSgRXVb/I0wMUymI3FnwKisu1P3b8xxedCeZWiFioWC/mJAFsZKzIA+m/9zJc5VWsZhz1Y9egrqwayc5Z+kASKazmq8SfAsCOG4hhGVnOZY5zb0vmGH6YpfRDVp8AFgl/SA3sFeQYN+EhAwUUwlZkZP2IL1ZkCfdxPp0oEeGYAwl3h7pO2qeAxw6pBNzX+oB9owZS5d8JLHl4z4imryvVW+1pmKQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=zuerich.ch; dmarc=pass action=none header.from=zuerich.ch; dkim=pass header.d=zuerich.ch; arc=none Received: from GV0P278MB0099.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:27::12) by ZRAP278MB0826.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:49::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.19; Fri, 20 Sep 2024 08:01:34 +0000 Received: from GV0P278MB0099.CHEP278.PROD.OUTLOOK.COM ([fe80::bf73:d490:294c:3df3]) by GV0P278MB0099.CHEP278.PROD.OUTLOOK.COM ([fe80::bf73:d490:294c:3df3%5]) with mapi id 15.20.7982.018; Fri, 20 Sep 2024 08:01:34 +0000 From: "Zwettler Markus (OIZ)" To: pgsql-general Subject: question on timezone with pgBackRest PITR Thread-Topic: question on timezone with pgBackRest PITR Thread-Index: AdsLMfHL0gDDQETOSjSD665RqStbog== Date: Fri, 20 Sep 2024 08:01:34 +0000 Message-ID: Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=zuerich.ch; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: GV0P278MB0099:EE_|ZRAP278MB0826:EE_ x-ms-office365-filtering-correlation-id: 2ba71685-014c-4d1d-aee5-08dcd94a71fd x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|376014|366016|1800799024|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?9KrcdeyyURnDQt9nDNKOKMJnOjmIJS0XBCy2AO0VmfHR3MlgwBsi/FrR8duk?= =?us-ascii?Q?XmVIkhxsvMPvkbbxHecpmG63q13inA20BMISxIxttCa44zYiFls+IhpGJFbo?= =?us-ascii?Q?/CaShBtkzRqZB2bmn/keN+U/e1/TVvgN07+242QOeNMW7S9j4eLEgY70QgI5?= =?us-ascii?Q?FLjomREACftUkQTRJxnEFX+VZSyhisGau39XsFfyh3owB3/W8EjmYFlphuP6?= =?us-ascii?Q?KpixLqirPEKA1yt7KW1LQDFZoyIjCvUSfPOjnxTjVP6HXwpteyaMQp9RxVt2?= =?us-ascii?Q?doIYJc/vN//98+fUnjKGSbRUT8H3zOWJxvG6cw6fcSsp7cCFFI+3rb+TC5AG?= =?us-ascii?Q?5AdsnUUlA8UoN4I+jLdxMEFwuQWHdWcHBrTTH5Svnt0aAYgPJdy5gclJEJr5?= =?us-ascii?Q?hReWVdUTjSCVkWmgfxoa+rc+wFnzFPwFtFbGn5O468675w3q+du0+uvkuiu2?= =?us-ascii?Q?tY/hu+ScaI+5M1gHzx8gbG0qDyaZcdFwPedvFY+ViD4lDpEOi1xq5pKwxY+q?= =?us-ascii?Q?OEc/J1tBWQqQJ38n5qocyDJ3dOjtbXy0mTAyBEla+xCeUm/XvJ9gt7xajOSy?= =?us-ascii?Q?6I7TDqbWyE/jO/VrCgZG9pKVBKOQAa1vVWlSovBDDYSxbjYQ0D/jwcf1DCYD?= =?us-ascii?Q?6Jx35toNx5f1JO48g+kCk1fqJaRqftdsoXSpnpU1PWpc0WmuHK3n5eS7J0F9?= =?us-ascii?Q?ASxh69rVMQzUChrftDNvLDO6twaLPAR8Mtx6aPxVlD9PJjVhDNyAxzZvcrYB?= =?us-ascii?Q?WR110ZeP7K4xVwAiyJ43AC9Gkk8kIULwYXDSvPIs7ko2VyUJMLKiTmyNzRPO?= =?us-ascii?Q?HANOsASE1sYZcRImxoHqlfJHqhKy3rjjckB4dT0xgsi/gSzQ/NsSm6Fi6Gvb?= =?us-ascii?Q?nwZzbMb43zOy8FP0OXay+NYz6cf3LGbamDJDHOb2FB7ciAGkATkZDhblV/L5?= =?us-ascii?Q?W+JVFtbl3hxthPiEKhTCzunujcNaZODDy/EXpmwyWl/qVa4OYg/qrhuMEnqf?= =?us-ascii?Q?yZMln6FSYyiYx01bKGKSoBV0x5I5tsOSPrYpOj0Vw5ivZ0QgIO72BZqy47IO?= =?us-ascii?Q?+3XobpjPuomxghuIOfEnnu7UXfiPcUw9JOOxpYKhJj9QwNQExU4Or4JVCFnA?= =?us-ascii?Q?tOSth2rhDJ/JVxpOCmRTALZXWUhQHYApn18VO055oE7OSHrcBUYgS5UEVSDu?= =?us-ascii?Q?m/QrHyiBlpgMf19dENTRIKWpdKNwb0J6bQjzuqlTVGkzHpCAFpBLoB9q/TQp?= =?us-ascii?Q?AHzLwTfqq1bTIfsM4+jVC+1CBuP0Rb14TfvcQHx5bnefWmjqOsWjXTr1Tb6N?= =?us-ascii?Q?OT2+aZJOxSloCN7MTbwWlbhF9eTeR13f79DzxKxCogVzZ1EyveJm61u1/T/J?= =?us-ascii?Q?CPbZ6nFgSZDdAfAdv8x3R84Ro6q4D6lmjdcsfvYEQIKE3IvQjw=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:GV0P278MB0099.CHEP278.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(376014)(366016)(1800799024)(38070700018);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+IKjdADbNFLliZX9+a6sqstjzMlnUjpoU5jNf4rIcMS7UoVqFXlrv34k8hPp?= =?us-ascii?Q?v+wBX2qgDCXtw0zvFixBDD2PHftNQEfusS+7V7X3hYwv+XZtlFwbhF1SMvaV?= =?us-ascii?Q?9tZYsOs5VCHhl7lh4vJwmPQDedeMAfJ9ufaH11XQb1u1I20ouSvIZNAgdeWX?= =?us-ascii?Q?Jk2fguo/fhHyQInisX5hIckjtEMEZg9q8xde+TZKAbdUT9n2a3j++dzmGggC?= =?us-ascii?Q?PbE/jSff1hQcSIshwWb32vTLIQn55NmTu4GQeZxmssFcmK4v1CvFBljHRRPp?= =?us-ascii?Q?2vGjFBYJ4sPiiwOlOMlCQDQhxTX6xc/Vi+qlcKG9/OBdS21TAJ7PYTknwd9Q?= =?us-ascii?Q?hslFRruX7W3P6d02iRBHI3az7K3YT6uU1VfZ7PDHhdudWs+YMmWBggXAeXND?= =?us-ascii?Q?mcO4rFS9iqPvp8sTyOEVCaABMChEiEbFQ/OENZfi7QEgOwCbroJFw+ZLg1v/?= =?us-ascii?Q?mglULuupRb6qLpfyAYR6T0fsGXx3YIFQuiol5ET2FR4yMMvitib4NeZi1CkE?= =?us-ascii?Q?4q+zGXuBUe541H+WeOgxREV5tqNGl/tlO4gtX9gw2jrGwg2FG4y8Gi1uy+Ke?= =?us-ascii?Q?E/q5qsejsxD8J/WB/szEZCDuWDRlUaiYAtRGQgaSinz/5C74tMVRwW/yJX3H?= =?us-ascii?Q?EUiXZ7GxpZN62+yp580qaHe7PIPMC8kKFZkFk7ljjFRaEQg+9NLndqogyKwE?= =?us-ascii?Q?iwZ9l9pMncIBoKMIjdsJ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/alternative; boundary="_000_GV0P278MB0099DBAA231307BBD2AFA1038B6C2GV0P278MB0099CHEP_" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: GV0P278MB0099.CHEP278.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 2ba71685-014c-4d1d-aee5-08dcd94a71fd X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Sep 2024 08:01:34.2829 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 9f489fcc-e452-4509-8234-6f97b42d0117 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: FRhz6JjtDfo7D6cqgwhacfHrw5/4HTst7xZmc5ZYIHMdmjR9ZNQxQCmM2xtmUy/dHHPLpmgeedgg+YJ73f1ljpUkZNDbTs3KS7RrSHtHwpw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZRAP278MB0826 X-OriginatorOrg: zuerich.ch List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --_000_GV0P278MB0099DBAA231307BBD2AFA1038B6C2GV0P278MB0099CHEP_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable The Postgres instance is running on timezone CEST (parameter timezone =3D '= Europe/Zurich') which is UTC+2. The underlying Linux OS (K8s container) is running on timezone UTC. Backups are done with pgBackRest. With PITR we will have to use target timezone CEST (--target=3D2024-09-19 1= 7:00:00+02") although OS is running on UTC. Agreed? --_000_GV0P278MB0099DBAA231307BBD2AFA1038B6C2GV0P278MB0099CHEP_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

The Postgres instance is running on timezone CEST (parameter= timezone =3D 'Europe/Zurich') which is UTC+2.

 

The underlying Linux OS (K8s container) is running on timezo= ne UTC.

 

Backups are done with pgBackRest.

 

With PITR we will have to use target timezone CEST (--target= =3D2024-09-19 17:00:00+02") although OS is running on UTC.<= /span>

 

Agreed?

 

 

 

 

 

--_000_GV0P278MB0099DBAA231307BBD2AFA1038B6C2GV0P278MB0099CHEP_--