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 1t3dd9-00DmI5-8R for pgsql-general@arkaria.postgresql.org; Wed, 23 Oct 2024 15:50:39 +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 1t3dd6-00B22Y-UO for pgsql-general@arkaria.postgresql.org; Wed, 23 Oct 2024 15:50:37 +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 1t3dd5-00B22Q-GT for pgsql-general@lists.postgresql.org; Wed, 23 Oct 2024 15:50:36 +0000 Received: from fhigh-a7-smtp.messagingengine.com ([103.168.172.158]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t3dd2-002Tb2-TZ for pgsql-general@postgresql.org; Wed, 23 Oct 2024 15:50:34 +0000 Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfhigh.phl.internal (Postfix) with ESMTP id 004F811401C8; Wed, 23 Oct 2024 11:50:31 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Wed, 23 Oct 2024 11:50:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1729698630; x=1729785030; bh=cdY23SQK5WILyc+cpTEXXfEUnRVEq51/35PAqImyvDA=; b= nwN590SkUQaEpAvE7Tp2bKJIODW5vf/NhvaLMq+NWnwcm859HI0u8hPXTt7YKnVQ BDek/34FfHOPMW0/sTg/f4IwQNtUP0Xbz4DGya4BQhfbx+JTvMRskCbr8dzZQPON M5oQVUzKkXmZAhMN5CCuzlGf69IZ+ERxjT51B+K2AmPcBhIgEjK5zA7il/fU1i/j O2WPDMBKZ+vzUGs2E9sLvixys535wcD3xPQe5Aae7A/4+w8voq6LNbEVwPxDAgev RCmuGvUJEvBsdwkd6zAXRAP0u73b9mlqZ7ty/5FSuxFmlMTbyOay2nvXdyNIPQRT mVDMBL4eeatZkbTGoWRVHA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1729698630; x= 1729785030; bh=cdY23SQK5WILyc+cpTEXXfEUnRVEq51/35PAqImyvDA=; b=E daSTnpYNruNHKxIbRf+yHEpQq6s1JWQpt3G9ekByDqFmoBdGJR/RLwISZlIkPwjW YB5vE4G+hL6uK8X7/+DjcXHJ9mCnmZkKnwZh9351Ab/O+fgkKCr4VTj7zujs50Yd dvq8BAjjIfKFealICCP4Zix2YhQNo7FRnBp+9EpUJTArL1S//fI4RDO0hF030ZUG GYk9FBNxmXiPS3BiR6kIIy1Ttv1Y/DJe9CBsjfJeAkuWvgp5Pb3zeOM/1v3J3YSV k86Wdmyu6B6pEUQrx5cnGs2sqJQtyBHuc2nWLle6GH/t8DbaVjcaiGg2EK1uIZ+e blDZ9eB4PtP/JodtgL9zQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdeijedgledvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdej necuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrh esrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepfeegfeeiuedtgffgteeg gfehkeejheetieeliefgteeikeejvdeiveeigfehvedtnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghk lhgrvhgvrhdrtghomhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpd hrtghpthhtohephhgrrhhtmhgrnheitdhhohhmvgesghhmrghilhdrtghomhdprhgtphht thhopehpghhsqhhlqdhgvghnvghrrghlsehpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 23 Oct 2024 11:50:30 -0400 (EDT) Message-ID: <2895baa9-abe7-4ff9-a7d5-03d3ae500df2@aklaver.com> Date: Wed, 23 Oct 2024 08:50:29 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Backup To: Andy Hartman Cc: pgsql-general References: <1be444fc-e613-4489-aa19-b02ca16d4e30@aklaver.com> <17c9eeb9-f8a9-4ab3-b177-0c11dd345b6e@aklaver.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/23/24 07:07, Andy Hartman wrote: > I have been testing different backup methods suggested and wonder if I > have all my files used to load the DB .. could that be considered a > backup... obviously need to have schema backup in case of problem, but > that seems to be easily re-created > > Thoughts? Did you actually read the information at the links provided? By default pg_dump and pg_dumpall will dump both the schema definitions as well as the data. Yes it is a backup of the database(s) at the point in time you initiate the dump. If you want something different then you are probably looking for one of the replication methods. You still have not answered: " You also need to provide a more detailed description of what you want the backup to do?" so it is hard to say what method is best for your situation. > -- Adrian Klaver adrian.klaver@aklaver.com