pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andy Shellam <andy.shellam-lists@mailnetwork.co.uk>
To: Mr. Dan <bitsandbytes88@hotmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: On-line backup - /bin/tar: Error exit delayed from previous
Date: Thu, 03 Aug 2006 19:59:52 +0100
Message-ID: <44D247A8.5060201@mailnetwork.co.uk> (raw)
In-Reply-To: <BAY116-F314D4100AC5E890F4AEF94D1530@phx.gbl>
References: <BAY116-F314D4100AC5E890F4AEF94D1530@phx.gbl>

We occasionally get the "file changed while being read" error, usually 
only once or twice a month (and we run nightly backups.)  It's nothing 
to be concerned about, as someone else mentioned, the WAL logs will fix 
any internal inconsistencies.

Regarding the file sizes, because it's zipped (I believe) the 
compression ratios can change depending on the contents of the files, 
hence the differences in size, but I wouldn't have thought it be that 
drastic.

Thing I would do, is on a spare machine (or same one if you've got the 
space), unzip three of the files that are different sizes (e.g. 874MB, 
5GB, 9GB) and then compare the sizes of the unzipped data.  If it 
differs greatly in the same fashion, you've got a problem.

Also just double check you're not backing up WAL logs as well (i.e. 
excluding pg_xlog.)

Andy.

Mr. Dan wrote:
>
> Another thing that conerns me is that the zipped file size keeps 
> changing.
> I'm backing up 10GB total.  One night the backup file was 9 GB, one 
> night it was 874 MB and just now, 5 GB.   I'm expecting a file around 
> 1.5 GB (15% of the 10GB) that's there.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>
> !DSPAM:37,44d207ac143291676420085!
>
>




view thread (5+ messages)

Message-ID: <44D247A8.5060201@mailnetwork.co.uk>
Permalink:  ../44D247A8.5060201@mailnetwork.co.uk/
Also on:    postgresql.org/message-id/44D247A8.5060201@mailnetwork.co.uk

 · 

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-admin@postgresql.org
  Cc: andy.shellam-lists@mailnetwork.co.uk, bitsandbytes88@hotmail.com
  Subject: Re: On-line backup - /bin/tar: Error exit delayed from previous
  In-Reply-To: <44D247A8.5060201@mailnetwork.co.uk>
  References: <BAY116-F314D4100AC5E890F4AEF94D1530@phx.gbl> <44D247A8.5060201@mailnetwork.co.uk>

* 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