From owner-freebsd-questions@FreeBSD.ORG Wed Jan 30 19:39:09 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 DEF2C16A474 for ; Wed, 30 Jan 2008 19:39:09 +0000 (UTC) (envelope-from frzburn@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235]) by mx1.freebsd.org (Postfix) with ESMTP id 8B9A313C47E for ; Wed, 30 Jan 2008 19:39:09 +0000 (UTC) (envelope-from frzburn@gmail.com) Received: by wr-out-0506.google.com with SMTP id 68so321400wri.3 for ; Wed, 30 Jan 2008 11:39:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=1fcbmjpSXLv+uTlUbJIDQ3kG/DjyS0CH7nG21efs8Ls=; b=V6zD04Na6nnJRYqoc7vFiePi6aHinpdlfhsby7ufTRoa/JJNnVcwHLI19F3rdBCKCMPKM2nj4GmOwizrs9Ti6ffjFZZSCksjAzWLzmXY36S1whArJbOesp0MHhQ+v6dlYsOuIQLvu21VmKbsu5laSsft8DHcehXWgBGgxljfL9o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=U1MCwWFMfe22syKxluh6IGVWBwqahmcjkpej7XxINhZ4OResZYJ5IazrqGyVlibSou1rKA36AmZV/AhLihyvwspbuEi9oHbHoI6FKPlOIyygMBSotKzO3GrKRBCKI+46/FqT+MzFvtM+hXtCvSEdTFber6HEMpRK6qyOUus+97o= Received: by 10.114.146.1 with SMTP id t1mr1330078wad.20.1201721947347; Wed, 30 Jan 2008 11:39:07 -0800 (PST) Received: by 10.114.102.19 with HTTP; Wed, 30 Jan 2008 11:39:07 -0800 (PST) Message-ID: <2942dae0801301139y1e976c1doaee64711348789d2@mail.gmail.com> Date: Wed, 30 Jan 2008 14:39:07 -0500 From: "Martin Boulianne" To: rsmith@xs4all.nl In-Reply-To: <20080130190800.GA14529@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2942dae0801300618h69e6870eh6baafccaa51886ec@mail.gmail.com> <20080130190800.GA14529@slackbox.xs4all.nl> 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:39:10 -0000 On Jan 30, 2008 2:08 PM, Roland Smith wrote: > 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 > > Dump is only suited for FreeBSD's native UFS filesystem. > > > 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 > > 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 method > you will probably lose any NTFS attributes. > > The port sysutils/ntfsprogs contains programs like ntfsclone and > ntfscp. Maybe those can be of use? > > Probably the best tool to completely backup an NTFS partition is a > windows-based tool. > > Roland > -- > 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) > Hi Roland, Well, from its man pages, ntfsclone seems very promising!! If it is restored to a different partition than the one it was backuped from, Windows won't boot. But that's easy to fix... Anyway it's for backup purpose, so I shall use it on the same partition. Moreover, I use FreeBSD's boot manager, so I don't give a crap =P Thanks! =)