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 1ja3SR-0005Jt-OM for pgsql-general@arkaria.postgresql.org; Sat, 16 May 2020 20:30:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ja3SP-0003tA-MB for pgsql-general@arkaria.postgresql.org; Sat, 16 May 2020 20:30:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ja3SP-0003rv-DA for pgsql-general@lists.postgresql.org; Sat, 16 May 2020 20:30:53 +0000 Received: from mbx.knossos.net.nz ([202.160.48.10]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ja3SF-0004Ay-Sz for pgsql-general@lists.postgresql.org; Sat, 16 May 2020 20:30:50 +0000 Received: from [192.168.77.204] (default-rdns.vocus.co.nz [121.99.202.67] (may be forged)) (authenticated bits=0) by mbx.knossos.net.nz (8.14.4/8.14.4) with ESMTP id 04GKUaJO027257 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Sun, 17 May 2020 08:30:39 +1200 Subject: Re: Inherited an 18TB DB & need to backup Cc: pgsql-general@lists.postgresql.org References: <3E78DA08-175B-4D3D-B61F-8AF65786E155@gmail.com> <777f67e9-1abe-3acd-e204-dce4371e8081@gmail.com> From: Gavin Flower Organization: ArchiDevSys Message-ID: <686bfa77-069f-e65a-8fab-d982d7284c88@archidevsys.co.nz> Date: Sun, 17 May 2020 08:30:36 +1200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <777f67e9-1abe-3acd-e204-dce4371e8081@gmail.com> 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 On 17/05/2020 08:12, Ron wrote: > On 5/16/20 7:18 AM, Rob Sargent wrote: >>> O >>>> Another problem is storage devices fail.  S3 storage lakes _should_ >>>> be checking your data integrity on a regular basis and possibly >>>> maintaining copies of it iin multiple locations so you're not >>>> vulnerable to a site disaster. >>> Tape FTW!! >> Or WTF Tape??   :) > > Tape is durable, long-lasting, high-density, under your control, can > be taken off-site (don't underestimate the bandwidth of a station > wagon full of tapes hurtling down the highway!) and -- with the proper > software -- is multi-threaded. > Don't you mean multi-spooled??? :-) Fascinating problem.  If the dump & load programs are designed to take a parameter for N drives for effective parallel operation, and N > 2, then things will run a lot faster. I can think of several ways the the data can be dumped in parallel, with various trade-offs.  Would love to know how it's implemented in practice. Cheers, Gavn