Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f8E1R-0006Dm-DK for pgsql-general@arkaria.postgresql.org; Mon, 16 Apr 2018 23:58:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f8E1P-000628-Qo for pgsql-general@arkaria.postgresql.org; Mon, 16 Apr 2018 23:58:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f8E1P-00061y-GR for pgsql-general@lists.postgresql.org; Mon, 16 Apr 2018 23:58:55 +0000 Received: from mail-ot0-x231.google.com ([2607:f8b0:4003:c0f::231]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1f8E1L-0003gR-GY for pgsql-general@postgresql.org; Mon, 16 Apr 2018 23:58:54 +0000 Received: by mail-ot0-x231.google.com with SMTP id a14-v6so19468781otf.6 for ; Mon, 16 Apr 2018 16:58:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=VYzYoh0OQyHjQGBH7GFNSlRvHA6gL57GBel/XkuQLzY=; b=KI2CTmmNj+3pSaPjrlKIBueawQDgbHhFNTPpZ38tUv46oTaMfb6WMygoru9ZBtXEvu KEC8eavwKhajrAZLoQnquIbV+RgkbtJGfGb8ub9Tv7NdukMibK5HvoL8Gg5LK6VQu62I 50mHRSsEAKm3Ai+qKNpIG+7EiKHIRtO9WONCsllwd/5jCMd/1BHQ6IPdAOpWmsF3VA3o Adc+qG0jCqo/vbgJNtM1Z8AhpQU3ZZBJrpvQmn2Q7Z+EggCIar+16Nuel0h8Vk78Lqyp b2Uw0TFo3VQ5H5lQQELbTnn6OFUF1KmsbXzbn5a2iCUO+vIm4jtns7aixMWXctbU65GV 9AvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=VYzYoh0OQyHjQGBH7GFNSlRvHA6gL57GBel/XkuQLzY=; b=d/8aKpDqng/06koHUvWe+iBnMU+18IXjRrGlEjY8mp18ut8bPnZTLQPOxWL06rpC6j w922y4FRL7p89cjn1v++k7o2FmeUGL/TO7cemjvcxqjRpp5M0xGWS3DMq07BxvSbYy19 GQdohjcejwW9nnJvzsGFO0f1RyUinAqTvSVNJ/M9ZnzdL4iW+Z/12LBN8lWaXrWBnTCi 1HysV8QEOxEZRK5vS7hWQdUrdfZVZ9qzFM+DMFsJOU7GS8VybYUFCSwk8SKItFGpuJQ/ CPV97ij8keG0PdfrLQpVRrMvafaZLJOhWF7TsnfEj0oEuqcOVL458WWg/ITy51zgMxnZ ygrA== X-Gm-Message-State: ALQs6tBN2OergxZwUZCz+GGmXlopSbVm/Hi6CXSztDIeicY5IJfgdsvp 4eUhByFUlBvLbiv8nAUrCvKxYA== X-Google-Smtp-Source: AIpwx49ufoFjEEl6/4CxMAikCso5JuttaHeUzKaGGDk+BPb9KSb+JLBrzW12qP8HK1n+eATg1JFQrw== X-Received: by 2002:a9d:738e:: with SMTP id j14-v6mr12121233otk.248.1523923129518; Mon, 16 Apr 2018 16:58:49 -0700 (PDT) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id v21-v6sm8334241ote.54.2018.04.16.16.58.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Apr 2018 16:58:48 -0700 (PDT) To: pgsql-general From: Ron Subject: pg_dump to a remote server Message-ID: <53c302b2-a634-96c2-b1f5-328437eb37fd@gmail.com> Date: Mon, 16 Apr 2018 18:58:47 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk We're upgrading from v8.4 to 9.6 on a new VM in a different DC.  The dump file will be more than 1TB, and there's not enough disk space on the current system for the dump file. Thus, how can I send the pg_dump file directly to the new server while the pg_dump command is running?  NFS is one method, but are there others (netcat, rsync)?  Since it's within the same company, encryption is not required. Or would it be better to install both 8.4 and 9.6 on the new server (can I even install 8.4 on RHEL 6.9?), rsync the live database across and then set up log shipping, and when it's time to cut over, do an in-place pg_upgrade? (Because this is a batch system, we can apply the data input files to bring the new database up to "equality" with the 8.4 production system.) Thanks -- Angular momentum makes the world go 'round.