Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wz4xC-0000hb-TV for pgsql-bugs@arkaria.postgresql.org; Mon, 23 Jun 2014 14:10:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wz4xC-0002h4-Bc for pgsql-bugs@arkaria.postgresql.org; Mon, 23 Jun 2014 14:10:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Wyh26-0007AE-PD for pgsql-bugs@postgresql.org; Sun, 22 Jun 2014 12:38:06 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wyh22-0001go-Vi for pgsql-bugs@postgresql.org; Sun, 22 Jun 2014 12:38:05 +0000 MIME-Version: 1.0 Subject: BUG #10726: database gets to an older backup out of nowhere!!! To: pgsql-bugs@postgresql.org From: wildfox81@hotmail.com Date: Sun, 22 Jun 2014 12:37:58 +0000 Message-ID: <20140622123758.2634.78393@wrigleys.postgresql.org> X-Pg-Spam-Score: 0.4 (/) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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