Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ogUv4-0008Gx-4B for pgsql-general@arkaria.postgresql.org; Thu, 06 Oct 2022 17:44:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ogUv3-00073Z-00 for pgsql-general@arkaria.postgresql.org; Thu, 06 Oct 2022 17:44:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ogUv2-0006zJ-LE for pgsql-general@lists.postgresql.org; Thu, 06 Oct 2022 17:44:24 +0000 Received: from mail-oo1-xc32.google.com ([2607:f8b0:4864:20::c32]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ogUv0-0002c3-OK for pgsql-general@postgresql.org; Thu, 06 Oct 2022 17:44:24 +0000 Received: by mail-oo1-xc32.google.com with SMTP id u19-20020a4a9e93000000b004757198549cso1941306ook.0 for ; Thu, 06 Oct 2022 10:44:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=0KUgD8SovRfp9QaJwxJvz+8G3fhWpv5amEs5I/UsIyk=; b=hgkujbJ9tb2RCE20rJt4GHP1e8Nz5i0WuELQwChel6bdaEzti1DauAnuyH0LjKxznW NYTwZpmfuvTXJUqRF8uBj3rhXvrQ5rCiVxOBSrdM0ms1awCeCAqlh1uy9cMGqFZyytxJ /z0knsOiKJTFJ9NyssbW8sXIsWyT4G+R1W6uZaW6+7nZ5cmHs/QSkQ9ECIjHAPHkLoZo v5rc3k2PZCDENVSMV7KwQMzDR30dnFIb1DHQW2DvpmJRWvgATfqH98L3uQfzAg5e+Vj/ YEfcqhEJSDAH3hYV3uyCq8tkK/jaT1Lcenisb04GKSjaFrYUPEHUlCdr4T0IC97UuWL8 rHyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0KUgD8SovRfp9QaJwxJvz+8G3fhWpv5amEs5I/UsIyk=; b=lF3lWRaNbln9FDWGGxxsyHg9dU3Wmcc8VEvDgCfo/FgpF9j+JuEPA0u85V2YiujZgO dFJVV4TzQhJZpd1BKZHH5Od2D7oKxs4484kuu9GzxQDCMKU9+0jsHtQn2aHWtumJeq30 1rIkLZJNbiJ3zUIFEPunCtiIESaRwg3PeuXofFzRLLJlHIVcsd54JcL2OflON/vzi8vq 6Y/DzSclq5irqp4Me2X2Ogpb1l10pIil/KitF3xt63SziEkIFYHqWxkLW3wedEpGBJRY tAJSgJmdcK5j7S8ACAuhTicws5soY1Zo7oZci1EvSIGmN1YtrLu/iaqIlXgvFqODAC15 Ba6g== X-Gm-Message-State: ACrzQf23wnjYvtufGRTpeSgGjP7+8mfXz4F34YA14ZEOLEXm/XC0TmjA PDeygUmpoY3OMdUzvra9vRx0EiRZb7k= X-Google-Smtp-Source: AMsMyM4/V4M0b/H2EpxvT8nV7y3Q1plUCRWyG4d7obhbpjIJOi93uLb5AYSDRD1pao0RsJhipTFVqQ== X-Received: by 2002:a05:6830:148a:b0:656:4744:5480 with SMTP id s10-20020a056830148a00b0065647445480mr462496otq.362.1665078260916; Thu, 06 Oct 2022 10:44:20 -0700 (PDT) Received: from [192.168.88.10] (ip68-11-68-85.no.no.cox.net. [68.11.68.85]) by smtp.googlemail.com with ESMTPSA id x49-20020a056830247100b0066104808280sm85378otr.38.2022.10.06.10.44.20 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Oct 2022 10:44:20 -0700 (PDT) Message-ID: Date: Thu, 6 Oct 2022 12:44:19 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: pg_restore creates public schema? Content-Language: en-US To: pgsql-general References: <9a423047-24d9-1643-c91e-6c36508b987e@gmail.com> <2678272.1665067771@sss.pgh.pa.us> <33eb3653-26f1-e6c1-dd16-c43ef93f7624@gmail.com> <2749191.1665069637@sss.pgh.pa.us> <31774754-424d-3637-8861-f7b61c106a69@gmail.com> <5454C60C-EBBC-4A96-9497-667EAB87907D@thebuild.com> From: Ron In-Reply-To: <5454C60C-EBBC-4A96-9497-667EAB87907D@thebuild.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 10/6/22 11:48, Christophe Pettus wrote: >> On Oct 6, 2022, at 09:46, Ron wrote: >> Because installing new software on production servers requires hurdles (Service Now change ticket approved by the application support manager, Delivery Service Manager, Engineering Change Board, and a one week lead time before installing during the Saturday night maintenance window) that I'm not willing to jump through just to take an ad hoc database backup. > Running the new pg_dump doesn't require that it be installed on the server, just that it have access to it. (I understand there may be access restrictions that make that inconvenient as well, but presumably *some* servers have access to 5432 and can be used to run pg_dump.) There is, and that is of course the first thing I thought of. Sadly, that VM doesn't have nearly enough disk space to hold the backup folder.  (It's a tiny 2 CPU, 8GB RAM system with 75GB disk who's only purpose is to concentrate all the scripts needed to manage 8 servers in one place and crontab.) -- Angular momentum makes the world go 'round.