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

Re: tar, but not gnu tar

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu>
Cc: "Bruce Momjian" <bruce(at)momjian(dot)us>, "Kenneth Marshall" <ktm(at)rice(dot)edu>, "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>, pgsql-admin(at)postgresql(dot)org
Subject: Re: tar, but not gnu tar
Date: 2007-08-24 01:58:11
Message-ID: 16079.1187920691@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
"Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu> writes:
>> This seems to contradict what we say about GNU tar?
>> Is this GNU tar?  What version?

> Yes, it is GNU tar v1.14

FWIW, I tried this on Fedora Core 6 while running pgbench:

[tgl(at)rh2 ~]$ tar --version
tar (GNU tar) 1.15.1
[tgl(at)rh2 ~]$ tar cf t.tar $PGDATA
tar: Removing leading `/' from member names
tar: /home/tgl/testversion/data/pg_xlog/000000010000000000000003: file changed as we read it
[tgl(at)rh2 ~]$ echo $?
0
[tgl(at)rh2 ~]$ 

ISTR that the original caution was against writing scripts that assume
anything being emitted to stderr must indicate a problem.

			regards, tom lane

In response to

Responses

pgsql-admin by date

Next:From: Mikko PartioDate: 2007-08-24 04:18:12
Subject: Re: Warm-Backup configuration question
Previous:From: Tom ArthursDate: 2007-08-24 01:54:32
Subject: Re: Warm-Backup configuration question

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