pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #10726: database gets to an older backup out of nowhere!!!
2+ messages / 2 participants
[nested] [flat]

* BUG #10726: database gets to an older backup out of nowhere!!!
@ 2014-06-22 12:37 wildfox81@hotmail.com
  2014-06-23 14:22 ` Re: BUG #10726: database gets to an older backup out of nowhere!!! Tomas Vondra <tv@fuzzy.cz>
  0 siblings, 1 reply; 2+ messages in thread

From: wildfox81@hotmail.com @ 2014-06-22 12:37 UTC (permalink / raw)
  To: pgsql-bugs

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!!!


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #10726: database gets to an older backup out of nowhere!!!
  2014-06-22 12:37 BUG #10726: database gets to an older backup out of nowhere!!! wildfox81@hotmail.com
@ 2014-06-23 14:22 ` Tomas Vondra <tv@fuzzy.cz>
  0 siblings, 0 replies; 2+ messages in thread

From: Tomas Vondra @ 2014-06-23 14:22 UTC (permalink / raw)
  To: wildfox81@hotmail.com; +Cc: pgsql-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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2014-06-23 14:22 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-06-22 12:37 BUG #10726: database gets to an older backup out of nowhere!!! wildfox81@hotmail.com
2014-06-23 14:22 ` Tomas Vondra <tv@fuzzy.cz>

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