Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 4FA372E0049 for ; Tue, 26 Feb 2008 23:46:50 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 26667-08 for ; Tue, 26 Feb 2008 23:46:47 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by postgresql.org (Postfix) with ESMTP id D4A922E0051 for ; Tue, 26 Feb 2008 23:46:47 -0400 (AST) Received: by wa-out-1112.google.com with SMTP id m38so2854039waf.5 for ; Tue, 26 Feb 2008 19:46:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=/fdCQrG4sComke5K9ke219XvsJds9RsFRk9ll+fEAgw=; b=uiYQUaSskKANiHIqZQ2lWdcTX6dTIp7m2j39zSbaL2R2e2wZUO7InKGkwzA05gnGsjE2o2SFAJ9daNwIaPnOWtp/Z0kp2CWAfEklzW0YFxmkE1LfvWsCOPJaDbC9lwHnft9thto6/toSFCmii10Thy8/jQGH5TCwc5FMaqa6KqY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=u4KMrxbI5ETafG3XF2glb6FL/PM5SOCAwQ1WDdtQatgYlGFhpjs7/FwHHl9U4OeFD2B0tRZKuwXe55mUF21JzxjJfkauKdvQdu12DV2jeW62D4MJb34eQcByvvr3xKHD+7kSch3Q1UYIMDfxo5cJ2S/hn7JH+1HAERKEdRGbuOo= Received: by 10.114.26.1 with SMTP id 1mr6639531waz.80.1204084006191; Tue, 26 Feb 2008 19:46:46 -0800 (PST) Received: by 10.114.133.6 with HTTP; Tue, 26 Feb 2008 19:46:46 -0800 (PST) Message-ID: Date: Tue, 26 Feb 2008 21:46:46 -0600 From: "Scott Marlowe" To: "Phillip Smith" Subject: Re: Backup to Tape Incomplete Cc: pgsql-admin@postgresql.org In-Reply-To: <01fb01c878f2$44149f00$9b0014ac@wbaus090> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080227162750.5638b0e8.steve.holdoway@firetrust.com> <01fb01c878f2$44149f00$9b0014ac@wbaus090> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/356 X-Sequence-Number: 28430 On Tue, Feb 26, 2008 at 9:38 PM, Phillip Smith wrote: > > Do we think this is a Postgres problem, a Linux problem or a problem > specific to my hardware setup? Was I wrong to think that I should be able to > stream directly from pg_dump to /dev/st0? I would have thought it *should* > work, but maybe I was wrong in the first place with that? If you can dd the file onto your tape drive, then it's some weird interaction between pg_dump and your system I'd think. Could the be some maximum size that you can buffer through pipes / redirects on your machine? I'd test to see if cat pgdumpfile.sql > /dev/st0 works or not. If it fails at the same approximate size, then it's something to do with redirection. If tar works but redirects fail, then the problem isn't with postgresql. i.e. do something similar to what you're doing with pgsql and see which things fail and which ones don't.