Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2008 11:33:46 -0500
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Martin Boulianne <frzburn@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Dump and restore for Windows partitions
Message-ID:  <20080130163346.GD79702@gizmo.acns.msu.edu>
In-Reply-To: <2942dae0801300618h69e6870eh6baafccaa51886ec@mail.gmail.com>
References:  <2942dae0801300618h69e6870eh6baafccaa51886ec@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 30, 2008 at 09:18:53AM -0500, Martin Boulianne wrote:

> Hi,
> Maybe this is a dumb question, but I was wondering if I could use
> dump (and restore) on Windows NTFS partitions.
> 
> Say I have a NTFS partition, ad0s1. Could I use:
>    # dump -b 4 -f /backups/winxp.dump /dev/ad0s1

Well, I htink it would work for a FATnn slice, but I don't
know about NTFS.

> Or after a restore, Windows would be able to read the files? What about dd,
> with something like:
>    # dd if=/dev/ad0s1 of=/backups/winxp.bck bs=4k

The problem is that dd copies essentially byte-by-byte and so it
might not restore in the fashion you wish.   Label blocks and file
links would all have to be identical - which they might not be in
a real life situation.  But, give it a try.
Copy it with dd and then restore it with dd back to a different
slice and see what happens.

////jerry

> 
> Thanks!! =)
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080130163346.GD79702>