pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Shiwangini Shishulkar <shiwangini.shishulkar@webgility.com>
To: pgsql-general@postgresql.org
Subject: Re: Postgres Database Backup Size
Date: Mon, 12 Aug 2019 09:39:02 +0200
Message-ID: <9638676cdd3274bc76a7f41503156732f9dac8dc.camel@cybertec.at> (raw)
In-Reply-To: <CAD8gUhivhJqOQna_8ixirhz6=dukdQZ3ruXWg7+orkw28A=yzA@mail.gmail.com>
References: <CAD8gUhivhJqOQna_8ixirhz6=dukdQZ3ruXWg7+orkw28A=yzA@mail.gmail.com>

Shiwangini Shishulkar wrote:
> Any way to reduce backup size of postgres backups or it's default behavior of postgres to take backups which are double in size?

The smallest backup would be a compressed custom format "pg_dump":

  pg_dump -F c -Z 9 ...

I is very unusual for a custom format dump to be bigger than
the original database.  How did you measure the database size?

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






view thread (2+ messages)

Message-ID: <9638676cdd3274bc76a7f41503156732f9dac8dc.camel@cybertec.at>
Permalink:  ../9638676cdd3274bc76a7f41503156732f9dac8dc.camel@cybertec.at/
Also on:    postgresql.org/message-id/9638676cdd3274bc76a7f41503156732f9dac8dc.camel@cybertec.at

 · 

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: laurenz.albe@cybertec.at, shiwangini.shishulkar@webgility.com
  Subject: Re: Postgres Database Backup Size
  In-Reply-To: <9638676cdd3274bc76a7f41503156732f9dac8dc.camel@cybertec.at>
  References: <CAD8gUhivhJqOQna_8ixirhz6=dukdQZ3ruXWg7+orkw28A=yzA@mail.gmail.com> <9638676cdd3274bc76a7f41503156732f9dac8dc.camel@cybertec.at>

* 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