X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <4805087B.6040407@netcourrier.com>
Date: Tue, 15 Apr 2008 21:56:43 +0200
From: Sylvain RICHARD <sylvainr@netcourrier.com>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: file accessibility and copying/archive/...
References: <Pine.GSO.4.64.0804151952460.5320@brains.eng.cse.dmu.ac.uk>
In-Reply-To: <Pine.GSO.4.64.0804151952460.5320@brains.eng.cse.dmu.ac.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hugh Sasse wrote:
> Trying to copy a windows XP NTFS drive to a big disk using cygwin tools
> I encounter inaccessible files such as ntusers.dat.  tar is not
> particularly verbose about why things fail so I wrote something in
> Ruby, but I only got about 70% of the contents of the disk across.
> I suspect this is a common problem, but don't know how to frame it
> correctly to extract something useful from Google.  The setup in
> question only has the one PC so things like rsync are out.  Windows
> keeps some things in use, but I don't know what.  Can anyone point
> me at the specific thing I should be reading, or suggest anything?
Hugh,

If you must do an online copy, the only solution is the "Volume Shadow 
Copy" API, especially designed to allow copying files in use. But you 
can copy garbage (especially for databases).

An offline solution based upon a bootable linux distribution (knoopix or 
others) might be better suited to your needs. I suggest dd_rescue if you 
want to copy whole partitions.

A commercial offering would be Ghost.

Best regards

    Sylvain RICHARD

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

