From owner-freebsd-questions@FreeBSD.ORG Tue Feb 7 14:28:54 2012 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 6086E1065674 for ; Tue, 7 Feb 2012 14:28:54 +0000 (UTC) (envelope-from gkontos.mail@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2E73F8FC14 for ; Tue, 7 Feb 2012 14:28:53 +0000 (UTC) Received: by iaeo4 with SMTP id o4so15087604iae.13 for ; Tue, 07 Feb 2012 06:28:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=PscMsB/UWlCbPFR/JyEtF3XRKjJ7BApHayhbwozhKLs=; b=aoZyKxCUVEL/4d+1ChbmpQdZJqc2AfQY0w81LdCYxOSrqsWSrhUY6fzz/ejzsV6kB6 uU+bgiduHwLy61fTWyQnfhefnZC+iqr3LZyzfgh9YWrgBTqE2NEAJIeozbRWWtij28Cs UrWRfRV9v61VH5yM9ndTa+XzmR4uESQyjZIHc= MIME-Version: 1.0 Received: by 10.42.117.69 with SMTP id s5mr329135icq.0.1328623569833; Tue, 07 Feb 2012 06:06:09 -0800 (PST) Received: by 10.231.231.17 with HTTP; Tue, 7 Feb 2012 06:06:09 -0800 (PST) In-Reply-To: <4F311144.6060504@nagual.nl> References: <4F31045B.9070408@nagual.nl> <4F310997.4080107@unsane.co.uk> <4F311144.6060504@nagual.nl> Date: Tue, 7 Feb 2012 16:06:09 +0200 Message-ID: From: George Kontostanos To: dick Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Dump Restore on ZFS root system 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: Tue, 07 Feb 2012 14:28:54 -0000 On Tue, Feb 7, 2012 at 1:55 PM, dick wrote: > Op 7-2-2012 12:23, Vincent Hoffman schreef: > >> On 07/02/2012 11:00, dick wrote: >>> >>> I run a ZFS on root FreeBSD system. I know I can backup with snapshots >>> but I want a dump/restore action because I want to transfer this >>> system to a UFS virtual FreeBSD machine. >>> My question is: will dump / (root) make a dump of *ALL* other >>> directories? >>> >> Dump works at the filesystem level and will not work on a zfs filesystem >> [root@banshee /backup/local/zfs]# dump -b 64 =A0-f - ./ >> dump: ./: unknown file system >> >> I'd use tar or cpio or pax or something. >> On a UFS filesystem dump will only dump the filesystem specified and >> will not cross mountpoints. > > OK, got it. I will have to read up on the best option (tar, cpio or pax) You can always clone it using zfs send / receive to your vm: http://www.aisecure.net/2011/03/26/cloning-a-zfs-bootable-system/ --=20 George Kontostanos Aicom telecoms ltd http://www.aisecure.net