From: Patrick Dung <patrick_dkt@yahoo.com.hk>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: several questions about pg_dumpall, pg_start_backup, pg_basebackup and WAL
Date: Thu, 22 Aug 2013 23:53:28 +0800 (SGT)
Message-ID: <1377186808.57546.YahooMailNeo@web193505.mail.sg3.yahoo.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
Hi all,
I have some questions about backup on PostgreSQL:
1) pg_dumpall
I am sure that this is asked in somewhere: why the pg_dumpall does not support custom or tar format like pg_dump.
I have heard that the custom format could be faster and may generate a smaller dump file.
Is the feature enhancement being developed?
2) pg_start_backup in postgresql 8.4
After issuing pg_start_backup, we can take the file based backup (by tar/snapshot) on the postgresql data directory.
If the use of file system snapshot is not possible.
It is possible that there is file changes (added or file size changed) between the pg_start_backup and pg_stop_backup.
Is the backup consistent?
3) extension of 2): If the postgresql version is 9.2
Is pg_basebackup better than pg_start_backup + file based backup + pg_stop_backup?
4) For the WAL backup in postgresql 8.4
After the archive mode is on and WAL is backup, how do I remove the old WAL files?
How about newer version (for example 9.2?)
Thanks and regards,
Patrick
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: patrick_dkt@yahoo.com.hk
Subject: Re: several questions about pg_dumpall, pg_start_backup, pg_basebackup and WAL
In-Reply-To: <1377186808.57546.YahooMailNeo@web193505.mail.sg3.yahoo.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