Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id B0332633D58 for ; Tue, 31 Mar 2009 11:12:09 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 21362-03 for ; Tue, 31 Mar 2009 11:11:59 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gwmta.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id 00D55633D50 for ; Tue, 31 Mar 2009 11:12:07 -0300 (ADT) Received: from Courts-MTA by gwmta.wicourts.gov with Novell_GroupWise; Tue, 31 Mar 2009 09:12:05 -0500 Message-Id: <49D1DE5B.EE98.0025.0@wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 7.0.3 Date: Tue, 31 Mar 2009 09:11:55 -0500 From: "Kevin Grittner" To: "Michael Monnerie" , Subject: Re: Hard link backup strategy References: <49CB9D8302000025000257DF@gwmta.wicourts.gov> <200903270843.45051@zmi.at> <49D0B91B.EE98.0025.0@wicourts.gov> <200903311400.26346@zmi.at> In-Reply-To: <200903311400.26346@zmi.at> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200903/265 X-Sequence-Number: 31765 Michael Monnerie wrote: > It is no problem if B reads, A can copy without a problem, even > without the cp before mv. B could open the file while it is being copied, and read to the current end of file before A has finished copying. If we used rsync it would, by default, copy to a temporary file name in the target directory and mv to the right name when complete, but we prefer the cp to a temp directory and explicitly mv, because of the subsequent rsync steps copyig out of the target directory. -Kevin