From: Tomas Vondra <tv@fuzzy.cz>
To: wildfox81@hotmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #10726: database gets to an older backup out of nowhere!!!
Date: Mon, 23 Jun 2014 16:22:13 +0200
Message-ID: <7b40c4f7daefe800823d32e1651f16e8.squirrel@sq.gransy.com> (raw)
In-Reply-To: <20140622123758.2634.78393@wrigleys.postgresql.org>
References: <20140622123758.2634.78393@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 22 Červen 2014, 14:37, wildfox81@hotmail.com wrote:
> The following bug has been logged on the website:
>
> Bug reference: 10726
> Logged by: Walid
> Email address: wildfox81@hotmail.com
> PostgreSQL version: 9.1.12
> Operating system: Win 7
> Description:
>
>
> Dear All, I have a PostgreSQL 9.1 server working with a java 6 application
> on windows 7. Sometimes I found that the db travels in time and many
> records
> are missing. It's like the DB had been restored to an older backup.
> Because
> some of these fields are according to its cascading structure is
> un-delete-able. Even the auto IDs goes back as if some one truncated the
> table and restore just that amount of data.
>
> Even I turned off the auto vacuum, I do vacuum the db on regular bases.
> The
> problem used to appear more often when I used the auto vacuum.
> Please also note that:
>
> - Once the data came back to the DB after around 20 hours, interesting,
> ha!
> - Once the PostgreSQL log recorded a restore commands outs of no where. I
> saw in the log when the DB was dropped, recreated, then data started to be
> imported.
>
> Any ideas, suggestions, similar accidents!!!
There's no built-in job that does dropdb/createdb/restore, so this is
quite certainly a pilot error. I.e. there's something wrong in your backup
scripts or some other tool you use (so it's not a postgres bug and
pgsql-bugs is not the right place to discuss that).
regards
Tomas
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: tv@fuzzy.cz, wildfox81@hotmail.com
Subject: Re: BUG #10726: database gets to an older backup out of nowhere!!!
In-Reply-To: <7b40c4f7daefe800823d32e1651f16e8.squirrel@sq.gransy.com>
References: <20140622123758.2634.78393@wrigleys.postgresql.org> <7b40c4f7daefe800823d32e1651f16e8.squirrel@sq.gransy.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