Re: tar, but not gnu tar - Mailing list pgsql-admin

From Bruce Momjian
Subject Re: tar, but not gnu tar
Date
Msg-id 200708230422.l7N4MLk22375@momjian.us
Whole thread Raw
In response to Re: tar, but not gnu tar  ("Tena Sakai" <tsakai@gallo.ucsf.edu>)
Responses Re: tar, but not gnu tar  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@momjian.us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

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

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: determining which table is being vacuumed by autovacuum
Next
From: Tom Lane
Date:
Subject: Re: tar, but not gnu tar