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 1oh0IB-0003Mt-HY for pgsql-general@arkaria.postgresql.org; Sat, 08 Oct 2022 03:14:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oh0I9-0005Zf-F0 for pgsql-general@arkaria.postgresql.org; Sat, 08 Oct 2022 03:14:21 +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 1oh0I9-0005ZS-2e for pgsql-general@lists.postgresql.org; Sat, 08 Oct 2022 03:14:21 +0000 Received: from mail-oa1-x2e.google.com ([2001:4860:4864:20::2e]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oh0I2-0006BZ-El for pgsql-general@postgresql.org; Sat, 08 Oct 2022 03:14:20 +0000 Received: by mail-oa1-x2e.google.com with SMTP id 586e51a60fabf-1326637be6eso7448913fac.13 for ; Fri, 07 Oct 2022 20:14:14 -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=BdWvcu14fOC/ftiPu3VTmI1xuE8djPJ5AS/wV0dK1II=; b=RuKFiXA6Yp8K8DWxOyjyk68uWJQgT0WklKNwFCrNMaLiqboCFepbRTo0gH8/KKq2Ls Qicped51sW6yx0DsCr8CdO+3muIUPCWKo+yqbCL0grgiRJ3wiWAKnEDFq5loDwRqqm4O DgZWCP4OWhbwsZLPjdFSeAAvXTwt9ix0WYBPUu9lWoPv+tiL7ibsRIcwUUzKVvts3B1T tV3JXWGujFPXorTH+izrFN90mpdXn1lDi5HV5Ix9Vbt+BCkoDjgqB5XVSKczqc8yYHd4 Nq+NTmjPy291i0h0/3eD5rdwrekyF+L6cf5xMSBWUNiZURxha+hMD4Fb+HyJvv48E8kH Ho4g== 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=BdWvcu14fOC/ftiPu3VTmI1xuE8djPJ5AS/wV0dK1II=; b=dOf4LrE3upLAowHkuE+AGx0218tgK6R3c+kaE+Bo/SHQnqnYGUBk2289fUmE/v+gz5 +Q/6dvwqeWS/mbC1UTKVLtwpzmvZwsr5JqmTIVTTkXa39l/W0F3cJGdZ5lK7nZzu6GB4 kmrRhUtFEzpuplg4OdVMhlA5BlVNenvgh64U+7k8a0I7MgVf75kyOTBwLdICOB/HTUfo 8r9V7/o4WaqXUTTBm44eOC+nVNJkoQ0Gbswgvbu6SJ8tZwm7/FocyV39VibjgBcNK58A dxBr9mk7bFjsibKTW1lj3+uDh4Kwq8/8WXETSE1hRvdZAJYgBpAHIilJ9zPGg9HRU7nU uQhA== X-Gm-Message-State: ACrzQf2yKIhP2Cn8jX1IoyuP69LYxS67NIkkX9H8c2BQ4DxBMKrReP04 xBARcyH0XS1KLcWXzgMCX6FvWUDdPSg= X-Google-Smtp-Source: AMsMyM4SVnKVlVhmh1SZjctXAw9lsoR+AJQJsmQDQbGshNPE7hr4Qu+hROnH0dQ0K6QTxeWdsZPCkw== X-Received: by 2002:a05:6870:3415:b0:133:197:3ca3 with SMTP id g21-20020a056870341500b0013301973ca3mr6818672oah.115.1665198852272; Fri, 07 Oct 2022 20:14:12 -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 e17-20020a056870c0d100b00132e63ee5e6sm2204301oad.54.2022.10.07.20.14.11 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 07 Oct 2022 20:14:11 -0700 (PDT) Message-ID: <680f1bce-e03e-55ed-830e-7b2d9e132aff@gmail.com> Date: Fri, 7 Oct 2022 22:14:10 -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> <6c4fad35-7b99-b725-5054-442b0c061748@gmail.com> From: Ron 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/7/22 15:31, Alban Hertroys wrote: >> On 6 Oct 2022, at 22:52, Ron wrote: >> >> On 10/6/22 12:46, Christophe Pettus wrote: >>>> On Oct 6, 2022, at 10:44, Ron wrote: >>>> Sadly, that VM doesn't have nearly enough disk space to hold the backup folder. >>> Use file mode, and stream the output via scp/ssh to a different machine? >> I thought of that, too. Unfortunately, the ssh version in RHEL 8.6 is sufficiently old that "three way" ssh (person at HostA wanting to transfer a file from Server1 to Server2) requires that port 22 be open from Server1 to Server2. > Bit of a wild idea, I haven’t used SSH tunnels in years, so a bit fuzzy on the details: > > Can you create an SSH tunnel to the new machine from the VM, then pipe that to an SSH connection from a machine that does have enough space to dump? Interesting.  (It's above my ssh expertise, though.) -- Angular momentum makes the world go 'round.