pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@depesz.com>
To: Andrus <kobruleht2@hot.ee>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: How to create directory format backup
Date: Wed, 8 Feb 2023 18:59:26 +0100
Message-ID: <Y+Pi/vWMeo6d6uJ8@depesz.com> (raw)
In-Reply-To: <b27a73f5-e6e6-4076-eee6-e002528d942c@hot.ee>
References: <b27a73f5-e6e6-4076-eee6-e002528d942c@hot.ee>

On Wed, Feb 08, 2023 at 05:00:10PM +0200, Andrus wrote:
> Hi!
> 
> Creating backup in directory format using
> 
>     pg_dump -f "sba" -Fdirectory --jobs=32 --verbose sba
> 
> throws error
> 
>     pg_dump: error: could not stat file "sba/282168.data.gz": value too
> large
> 
> How to fix it ?
> 
> Server is Postgres 12 running in Debian Linux 10 under WSL
> Client is pg_dump from Postgres 15 running in Windows 11

Looks like your filesystem on client is having limits on file sizes.

Use better filesystem, or just dump on linux, it's filesystems usually
don't hit these limits.

Best regards,

depesz






view thread (7+ messages)  latest in thread

Message-ID: <Y+Pi/vWMeo6d6uJ8@depesz.com>
Permalink:  ../Y+Pi%2FvWMeo6d6uJ8@depesz.com/
Also on:    postgresql.org/message-id/Y+Pi/vWMeo6d6uJ8@depesz.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: depesz@depesz.com, kobruleht2@hot.ee
  Subject: Re: How to create directory format backup
  In-Reply-To: <Y+Pi/vWMeo6d6uJ8@depesz.com>
  References: <b27a73f5-e6e6-4076-eee6-e002528d942c@hot.ee> <Y+Pi/vWMeo6d6uJ8@depesz.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox