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 1vkZJJ-00H3rB-21 for pgsql-general@arkaria.postgresql.org; Tue, 27 Jan 2026 03:00:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vkZJI-00BehD-2O for pgsql-general@arkaria.postgresql.org; Tue, 27 Jan 2026 03:00:09 +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.96) (envelope-from ) id 1vkZJH-00Beh4-1k for pgsql-general@lists.postgresql.org; Tue, 27 Jan 2026 03:00:08 +0000 Received: from omr-01.pc5.atmailcloud.com ([103.150.252.181]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vkZJD-002Un2-2E for pgsql-general@lists.postgresql.org; Tue, 27 Jan 2026 03:00:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tpg.com.au; s=202309; h=MIME-Version:Content-Type:Date:To:From:Subject:Message-ID; bh=vm4nasO8IiIOGrKnm+oU5o+LYPkOBvJ3gHK7aJNDPY4=; b=pdkUapDdWEbHvk6SY/kYFOf1Qi ovQh7/C7Iut8PUOA5Cmhy9+HmIsDaDklybN5QXFY+S8xa8siHuJNIx6ZfGoFrP+HvtDCK8Cs8cC4Y H1c5F40tA70vFWqB5fr3kGSgoCVwOUkMAp+/q4eaqjMn37oDQILhVz6XSwGSGnh3xPsQACBVziEXR 4pRIzY5UcQR8rkjYRQ13HoQctmc/XeS6NACzK9fVLXgnTqwkEy8LazQSEmac5ad3CWANLJ9WHmihb NmowehgNgvY4CIKIG6KofNv2ZOL8o7Bf44mjivnFek1RfbUk/+ZeHQ7Tlj2qp4PD4fritIB0R0msj s9wexZiQ==; Received: from cmr-kakadu02.internal.pc5.atmailcloud.com (cmr-kakadu02.internal.pc5.atmailcloud.com [192.168.1.4]) by omr-01.pc5.atmailcloud.com (Exim/cmr-kakadu02.i-01aeddccff27cd9fd) with ESMTPS (envelope-from ) id 1vkZJA-0000000FLL0-2Iqh for ; Tue, 27 Jan 2026 03:00:00 +0000 Received: from [220.253.8.138] (helo=[192.168.1.103]) by cmr-kakadu02.i-01aeddccff27cd9fd with esmtpsa (envelope-from ) id 1vkZJ9-0000000GUpF-3MUf for pgsql-general@lists.postgresql.org; Tue, 27 Jan 2026 02:59:59 +0000 Message-ID: <5efd76b75e527a6558dd69ba4364699f256a813a.camel@tpg.com.au> Subject: Re: About backups From: rob stone To: pgsql-general@lists.postgresql.org Date: Tue, 27 Jan 2026 13:59:58 +1100 In-Reply-To: <2097370962.4296686.1769449473672@mail.yahoo.com> References: <1730736265.4259921.1769443263077.ref@mail.yahoo.com> <1730736265.4259921.1769443263077@mail.yahoo.com> <2097370962.4296686.1769449473672@mail.yahoo.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2-8 MIME-Version: 1.0 X-Atmail-Id: floriparob@tpg.com.au X-atmailcloud-spam-action: no action X-Cm-Analysis: v=2.4 cv=RMh4HJi+ c=1 sm=1 tr=0 ts=69782a2f a=k/H0fDkDw2pZRejoalxmcw==:117 a=k/H0fDkDw2pZRejoalxmcw==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=x7bEGLp0ZPQA:10 a=ELYgh4H-fZkA:10 a=CjxXgO3LAAAA:8 a=x5_Y_FWo_osebUUWgGkA:9 a=QEXdDO2ut3YA:10 X-Cm-Envelope: MS4xfPP709QriD+rfRqMYXo8Om376K/jzoesClFi4bHLyosAdb1V229IKXy4jmEhVRW0dm7SvtlzJRwWp5p71cVNPE5C1p9w6no9L4KDIh68YY/+ZmXXq2Lq KFvBnafGEwk3xNwTQq3q5hOvsEQg+H6fpxQVh68LHjf/PNkLtOs1C+voL31hhw6rnF7CIp+XFWOeVBwzP6KhYMocvSiFBcaCs3c= X-atmailcloud-route: unknown List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 2026-01-26 at 17:44 +0000, felix.quintgz@yahoo.com wrote: >=20 > Any method that allows me to know who accessed the database and when. >=20 > This is necessary for auditing the database. It's a requirement for > financial applications. > I can't use a table within the database because it gets overwritten > upon restoration. >=20 >=20 A user has access to the application and logs on. You record that in a table of successful log-ons. You also need a table of unsuccessful log- on attempts. E.g, mis-typed password, access window expired, etc. None of that data is lost when a database restore occurs. You haven't said if you intend doing hot backups or cold backups. Have you read Chapter 25 of the documentation? >I don't have admin access to the database server; in SQL Server, I >resolved this using signed stored procedures. Most IT departments have a person known as the DBA. They are involved in the design of the database to fit the application and after it goes live are usually responsible for checking the back-ups. You haven't stated what your role is with the development of this application. Rob