From owner-freebsd-questions@FreeBSD.ORG Wed Jan 30 15:33:41 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 2257A16A41B for ; Wed, 30 Jan 2008 15:33:41 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from mk-outboundfilter-1.mail.uk.tiscali.com (mk-outboundfilter-1.mail.uk.tiscali.com [212.74.114.37]) by mx1.freebsd.org (Postfix) with ESMTP id AE73213C45A for ; Wed, 30 Jan 2008 15:33:40 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) X-Trace: 29977116/mk-outboundfilter-1.mail.uk.tiscali.com/PIPEX/$MX-ACCEPTED/pipex-infrastructure/62.241.162.32 X-SBRS: None X-RemoteIP: 62.241.162.32 X-IP-MAIL-FROM: xfb52@dial.pipex.com X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAAQnoEc+8aIg/2dsb2JhbACwEw X-IP-Direction: IN Received: from ranger.systems.pipex.net ([62.241.162.32]) by smtp.pipex.tiscali.co.uk with ESMTP; 30 Jan 2008 15:33:38 +0000 Received: from [192.168.23.2] (62-31-10-181.cable.ubr05.edin.blueyonder.co.uk [62.31.10.181]) by ranger.systems.pipex.net (Postfix) with ESMTP id 4DE3FE00008C; Wed, 30 Jan 2008 15:33:37 +0000 (GMT) Message-ID: <47A098CD.6020304@dial.pipex.com> Date: Wed, 30 Jan 2008 15:33:33 +0000 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20061205 X-Accept-Language: en MIME-Version: 1.0 To: Martin Boulianne References: <2942dae0801300618h69e6870eh6baafccaa51886ec@mail.gmail.com> In-Reply-To: <2942dae0801300618h69e6870eh6baafccaa51886ec@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 15:33:41 -0000 Martin Boulianne wrote: >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 > > No. Dump is specific to ufs/ufs2 filesystems. It specifically knows the format of the filesystem (superblocks, inodes, directories etc). You just get an error if you try: (cartman)103% dump -0 -f /tmp/foo /windows DUMP: Date of this level 0 dump: Wed Jan 30 15:23:25 2008 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/ad4s1 (/windows) to /tmp/foo DUMP: Cannot find file system superblock DUMP: The ENTIRE dump is aborted. I don't know if there are NTFS utils running on FreeBSD that could do similar - others may, or search the ports for NTFS related software and see what the pkg-descr files say. --Alex PS A question is only dumb if you ask the same one repeatedly. This question might demonstrate some ignorance, but we were all ignorant once and questions are one of the best cures! IMHO, of course. (In the computer world, manuals are another cure but the page for dump was written when UFS was the *only* filesystem that worked on BSD, so fails to actually answer your question).