From owner-freebsd-questions@FreeBSD.ORG Wed Jan 30 19:08:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4247C16A468 for ; Wed, 30 Jan 2008 19:08:03 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by mx1.freebsd.org (Postfix) with ESMTP id D019D13C478 for ; Wed, 30 Jan 2008 19:08:02 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id m0UJ80ln073830; Wed, 30 Jan 2008 20:08:01 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 72E35B8F8; Wed, 30 Jan 2008 20:08:00 +0100 (CET) Date: Wed, 30 Jan 2008 20:08:00 +0100 From: Roland Smith To: Martin Boulianne Message-ID: <20080130190800.GA14529@slackbox.xs4all.nl> Mail-Followup-To: Martin Boulianne , freebsd-questions@freebsd.org References: <2942dae0801300618h69e6870eh6baafccaa51886ec@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline In-Reply-To: <2942dae0801300618h69e6870eh6baafccaa51886ec@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Dump and restore for Windows partitions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2008 19:08:03 -0000 --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > Say I have a NTFS partition, ad0s1. Could I use: > # dump -b 4 -f /backups/winxp.dump /dev/ad0s1 Dump is only suited for FreeBSD's native UFS filesystem. =20 > Or after a restore, Windows would be able to read the files? What about d= d, > with something like: > # dd if=3D/dev/ad0s1 of=3D/backups/winxp.bck bs=3D4k This should work, I think. But it will take up a lot of space, because it will copy the every sector (even unused ones). Unless there are special features of NTFS that you use, you could mount the volume, and make a backup with zip(1) or tar(1). Note that with this me= thod you will probably lose any NTFS attributes.=20 The port sysutils/ntfsprogs contains programs like ntfsclone and ntfscp. Maybe those can be of use?=20 Probably the best tool to completely backup an NTFS partition is a windows-based tool. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --+QahgC5+KEYLbs62 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHoMsQEnfvsMMhpyURAs9QAJ4gguESTOTvd//zUAUzVDZbRr7fAgCfaOSl g7i4q0KXtMbBxeBSsLssYbo= =k2GS -----END PGP SIGNATURE----- --+QahgC5+KEYLbs62--