Re: [GENERAL] Aborted pg_dump run empties existing archive file

2016-05-26 Thread Jerry Sievers
Ken Winter writes: > I just discovered that a run of pg_dump that gets aborted empties any > pre-existing backup file of the same name.  It happens whether the run was > deliberately canceled > by the user or just failed because of a bad password (as in the example > below).  > > ~/dba$ pg_d

Re: [GENERAL] Aborted pg_dump run empties existing archive file

2016-05-26 Thread Melvin Davidson
On Thu, May 26, 2016 at 2:48 PM, Ken Winter wrote: > I just discovered that a run of pg_dump that gets aborted empties any > pre-existing backup file of the same name. It happens whether the run was > deliberately canceled by the user or just failed because of a bad password > (as in the example

[GENERAL] Aborted pg_dump run empties existing archive file

2016-05-26 Thread Ken Winter
I just discovered that a run of pg_dump that gets aborted empties any pre-existing backup file of the same name. It happens whether the run was deliberately canceled by the user or just failed because of a bad password (as in the example below). ~/dba$ pg_dump --host=localhost -U ken --format=c