Skip site navigation (1) Skip section navigation (2)

pg_stop_backup fails to complete

From: "Birchall, Austen" <austen(dot)birchall(at)metoffice(dot)gov(dot)uk>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: pg_stop_backup fails to complete
Date: 2011-05-23 10:56:05
Message-ID: A2E53AF8AE1C284C8F8B648653C0920B1D6A5029@EXXMAIL02.desktop.frd.metoffice.com (view raw or flat)
Thread:
Lists: pgsql-novice
I trying to do a backup on my test database however I get

testrec=# select pg_stop_backup();
WARNING:  pg_stop_backup still waiting for archive to complete (60
seconds elapsed)
WARNING:  pg_stop_backup still waiting for archive to complete (120
seconds elapsed)

Etc.

If I do a ctrl-C I then get 

testrec=# select pg_stop_backup();
ERROR:  a backup is not in progress
testrec=# 

I tried doing a  select pg_switch_xlog(); before/during and after the
backup but this didn't help

I've seen this error in the lists but I am still unsure what's going on.

Can anybody explain what's happening and how to 'fix' it?

Thanks

Austen 

Austen Birchall  Senior Database Administrator
Met Office FitzRoy Road Exeter EX1 3PB United Kingdom
Tel: +44 (0)1392 884481 Fax: +44 (0)1392 885681 
E-mail: austen(dot)birchall(at)metoffice(dot)gov(dot)uk Website:
http://www.metoffice.gov.uk


Responses

pgsql-novice by date

Next:From: Simon RiggsDate: 2011-05-23 11:56:15
Subject: Re: pg_stop_backup fails to complete
Previous:From: e-letterDate: 2011-05-22 07:57:08
Subject: how to select rows for a sum function

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group