pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: George Wilk <gwilk@ellacoya.com>
To: Tom Arthurs <tarthurs@jobflash.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: archive_command does not execute
Date: Tue, 19 Jun 2007 12:27:32 -0500
Message-ID: <4677CBB3.EE98.0025.0@wicourts.gov> (raw)
In-Reply-To: <46780175.3040207@jobflash.com>
References: <002c01c7b26b$d0085400$0d7ba8c0@ellacoya.com>
	<46780175.3040207@jobflash.com>

>>> On Tue, Jun 19, 2007 at 11:16 AM, in message <46780175.3040207@jobflash.com>,
Tom Arthurs <tarthurs@jobflash.com> wrote: 
> 
> Looks like you are expecting the archive command to run when you shut 
> down the data base. It won't.  It only runs when the xlog gets full and 
> the system needs to recycle to a new logfile.
 
If you need to force a WAL file to test your backup process, try running
something like:
 
select pg_switch_xlog();
 
http://www.postgresql.org/docs/8.2/interactive/functions-admin.html#FUNCTIONS-ADMIN-BACKUP-TABLE
 
-Kevin
 





view thread (4+ messages)  latest in thread

Message-ID: <4677CBB3.EE98.0025.0@wicourts.gov>
Permalink:  ../4677CBB3.EE98.0025.0@wicourts.gov/
Also on:    postgresql.org/message-id/4677CBB3.EE98.0025.0@wicourts.gov

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, gwilk@ellacoya.com, tarthurs@jobflash.com
  Subject: Re: archive_command does not execute
  In-Reply-To: <4677CBB3.EE98.0025.0@wicourts.gov>

* 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