pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Rich Shepard <rshepard@appl-ecosys.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Logging
Date: Wed, 4 Dec 2019 15:26:24 -0800
Message-ID: <48220bb9-72c2-0ee6-ccc5-15dfc17b93b7@aklaver.com> (raw)
In-Reply-To: <alpine.LNX.2.20.1912041517070.546@salmo.appl-ecosys.com>
References: <alpine.LNX.2.20.1912041517070.546@salmo.appl-ecosys.com>

On 12/4/19 3:20 PM, Rich Shepard wrote:
> Running Slackware-14.2/x86_64 and postgresql-11.5.
> 
> In /var/log/ are these files:
> 
> -rw-r----- 1 postgres wheel   0 Nov 23 04:40 postgresql-11
> -rw-r----- 1 postgres wheel 723 Nov 23 04:40 postgresql-11.1
> -rw-r----- 1 postgres wheel 324 Nov 20 04:40 postgresql-11.2.gz
> -rw-r----- 1 postgres wheel 320 Nov 17 04:40 postgresql-11.3.gz
> -rw-r----- 1 postgres wheel 322 Nov 14 04:40 postgresql-11.4.gz
> -rw-r----- 1 postgres wheel 321 Nov 10 04:40 postgresql-11.5.gz
> -rw-r----- 1 postgres wheel 325 Nov  6 04:40 postgresql-11.6.gz
> -rw-r----- 1 postgres wheel 337 Oct 23 04:40 postgresql-11.7.gz
> 
> I assume that they're an automatic backup that runs every 3-4 days. What's
> backed up and where is this controlled?

Looks like logrotate.
Take a look at the logging section of postgresql.conf to see if Postgres 
is handing off to the system and logrotate

> 
> I ask because I have a cron job that does a pg_dumpall each night at 11:30
> pm. (It's a small installation for my business use so the files are not
> excessive and I keep them for only short periods.)
> 
> Regards,
> 
> Rich
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (15+ messages)  latest in thread

Message-ID: <48220bb9-72c2-0ee6-ccc5-15dfc17b93b7@aklaver.com>
Permalink:  ../48220bb9-72c2-0ee6-ccc5-15dfc17b93b7@aklaver.com/
Also on:    postgresql.org/message-id/48220bb9-72c2-0ee6-ccc5-15dfc17b93b7@aklaver.com

 · 

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 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-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, rshepard@appl-ecosys.com
  Subject: Re: Logging
  In-Reply-To: <48220bb9-72c2-0ee6-ccc5-15dfc17b93b7@aklaver.com>
  References: <alpine.LNX.2.20.1912041517070.546@salmo.appl-ecosys.com> <48220bb9-72c2-0ee6-ccc5-15dfc17b93b7@aklaver.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