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 1tMB9i-002QfT-Cc for pgsql-general@arkaria.postgresql.org; Fri, 13 Dec 2024 19:16:54 +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 1tMB9f-00B1ov-Nh for pgsql-general@arkaria.postgresql.org; Fri, 13 Dec 2024 19:16:52 +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 1tMB9e-00B1oZ-Vg for pgsql-general@lists.postgresql.org; Fri, 13 Dec 2024 19:16:52 +0000 Received: from fhigh-b4-smtp.messagingengine.com ([202.12.124.155]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tMB9d-002gvl-Gh for pgsql-general@postgresql.org; Fri, 13 Dec 2024 19:16:51 +0000 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id AF6A3254021C; Fri, 13 Dec 2024 14:16:48 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Fri, 13 Dec 2024 14:16:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= 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=fm3; t=1734117408; x=1734203808; bh=+KyWuVInRgRdxCqxFv1BUr/wG/wT4KU9GKpMOLh8w2E=; b= HVjR+vYQdTWoe6K+XzAREw4KxxMSmbgJ4tzkY1QdQXaNVQZTG6Sv3LEVaDQKT/kk q1jkeHGBHQZ4MuFrCbCe01NvUWnJy1PNN8fWfiYuL+BliK2XKJrfXZn9ZUDj7Rs7 9e+DMr2WSHcxfaKj9sVpdjfOp3QIq3pdbz3R9UaUwbn3CtzV6KItrTV88wbILT5V 8laeLTTCawgkMn00EZ9vPGCPyany5+W4Z8q0ELquv9J87njz8V2afeAttTIfG2bQ WHsqZHAKNeGPVTOjCGn0Avs11VPKqHml32erMOEQ5NLPKaFcNoqCHnMSiK+6lKgv XqS4agj1jauQmsZM9F52QQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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-sender :x-me-sender:x-sasl-enc; s=fm1; t=1734117408; x=1734203808; bh=+ KyWuVInRgRdxCqxFv1BUr/wG/wT4KU9GKpMOLh8w2E=; b=Qseg8p1EoeXgNc3O0 0sVXCajRpraJyasry+Z9A+swaUDc0XNxBmJDcKNyCC1heTh2rQBTnP0XykiBiykB 5uaO+13OOfIGl0W2g/BCFqBJYKAoZXElyJ0fR/1JJowihX4RAdT7Z8NSyLEBNumT R4AXEp8ujz/80THEpnxvHqiSd+dEEfBsmmlvxpUavGFOve+6nyHFYW8YCYBfLyu8 YpmC9C6yNm2YyzMYYCBdeLRODgNoZJWdcOeKdJy/mhBE71XmReBGrOY0XLhU2I97 icvTDsgPqiIpeuh9BhpBeUmCvKtxY+tDvQRzpmhK3Em6enyqFWuH70kcOGiQCt7E 4jTag== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrkeejgdduvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttddvjeen ucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrse grkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeffleegieefgfevudehtdfh keeutdffjeevgeffgeejvedthefgudeiteefheejheenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhl rghvvghrrdgtohhmpdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprh gtphhtthhopehrshhhvghprghrugesrghpphhlqdgvtghoshihshdrtghomhdprhgtphht thhopehpghhsqhhlqdhgvghnvghrrghlsehpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 13 Dec 2024 14:16:47 -0500 (EST) Message-ID: <99dabac1-c951-4d3c-a9b9-80b36b0cb728@aklaver.com> Date: Fri, 13 Dec 2024 11:16:45 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Restoring database from backup To: Rich Shepard , pgsql-general@postgresql.org References: <71cd1635-78f7-ae13-699-e1cf2077c3d2@appl-ecosys.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: <71cd1635-78f7-ae13-699-e1cf2077c3d2@appl-ecosys.com> 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 12/13/24 11:15 AM, Rich Shepard wrote: > On Fri, 13 Dec 2024, Ron Johnson wrote: > >> It's a text file.  Open it up, and see if there's a DROP DATABASE in >> there. > > Ron, > > No `drop database' but it drops constraints and tables. I could add a drop > database to the backup script after restoring yesterday's status. Please answer the questions I asked earlier. > > Thanks, > > Rich > > -- Adrian Klaver adrian.klaver@aklaver.com