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

Re: [GENERAL] PITR and tar

From: "Jim C(dot) Nasby" <decibel(at)decibel(dot)org>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: Dhaval Shah <dhaval(dot)shah(dot)m(at)gmail(dot)com>, pgsql-docs(at)postgresql(dot)org
Subject: Re: [GENERAL] PITR and tar
Date: 2007-05-13 22:44:09
Message-ID: 20070513224408.GC69517@nasby.net (view raw or flat)
Thread:
Lists: pgsql-docspgsql-general
Moving to -docs...

Does anyone know what the history of the docs saying that GNU tar had
issues with files changing underneath it? According to this report it's
actually BSD tar that has the issue.

On Wed, May 09, 2007 at 10:19:05AM -0700, Jeff Davis wrote:
> On Wed, 2007-05-09 at 11:40 -0500, Jim Nasby wrote:
> > Actually, looking at the docs, the problem is with some versions of  
> > GNU tar. AFAIK bsdtar is perfectly happy to archive files that have  
> > changed from underneath it.
> > 
> 
> $ tar --version
> bsdtar 1.2.53 - libarchive 1.3.1
> 
> That fails to create a file in proper gzip format when the files are
> concurrently modified.
> 
> However, 
> 
> $ tar --version
> tar (GNU tar) 1.14
> Copyright (C) 2004 Free Software Foundation, Inc.
> This program comes with NO WARRANTY, to the extent permitted by law.
> You may redistribute it under the terms of the GNU General Public
> License;
> see the file named COPYING for details.
> Written by John Gilmore and Jay Fenlason.
> 
> That _appears_ to work.
> 
> Perhaps FreeBSD users should take notice of this problem. It's certainly
> not a postgresql problem, but I know there are a lot of freebsd users
> here, and using tar on fast-changing data may be rare outside of
> postgresql.
> 
> Regards,
> 	Jeff Davis
> 

-- 
Jim Nasby                                      decibel(at)decibel(dot)org
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)

In response to

Responses

pgsql-docs by date

Next:From: Tom LaneDate: 2007-05-13 22:48:01
Subject: Re: Documentation of pg_badkend_pid and stats functions
Previous:From: David FetterDate: 2007-05-13 21:15:26
Subject: OS/X startup scripts

pgsql-general by date

Next:From: Jim C. NasbyDate: 2007-05-13 22:50:17
Subject: Re: Internals of PostgreSQL - Documentation or presentations
Previous:From: Tom AllisonDate: 2007-05-13 22:42:39
Subject: Re: [UNSURE] Re: autovacuum

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