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

Re: tar, but not gnu tar

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tena Sakai <tsakai(at)gallo(dot)ucsf(dot)edu>
Cc: 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-23 04:22:21
Message-ID: 200708230422.l7N4MLk22375@momjian.us (view raw or flat)
Thread:
Lists: pgsql-admin
Tena Sakai wrote:
> Hi Everybody,
> 
> I had a bit of time to experiment with tar and star today
> and I am no longer sure what the real issue is.  Perhaps
> some of you can clarify.  Here's the test I ran:
> 
> There are many a ways to get the same thing done, but I
> did it in a most intuitive way (to me).  I had 3 windows
> to the same directory.  In one window, I ran a simple
> shell program interactively and continuously:
>   while true
>   do
>     touch big.inputfile
>   done

I don't think 'touch' is enough for tar to see the file as changed (you
are only updating metadata).  (tar did complain but the file contents
didn't so it is hard to say if that is a good test.)  You should change
the file contents during the backup.

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

In response to

Responses

pgsql-admin by date

Next:From: Tom LaneDate: 2007-08-23 05:18:24
Subject: Re: tar, but not gnu tar
Previous:From: Tom LaneDate: 2007-08-23 04:10:05
Subject: Re: determining which table is being vacuumed by autovacuum

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