Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Feb 2012 16:06:09 +0200
From:      George Kontostanos <gkontos.mail@gmail.com>
To:        dick <dick@nagual.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Dump Restore on ZFS root system
Message-ID:  <CA%2BdUSypVYzGPYLbDncgcMU_Jc7CYEf=6d_7WZ-BTvSSK98=-tw@mail.gmail.com>
In-Reply-To: <4F311144.6060504@nagual.nl>
References:  <4F31045B.9070408@nagual.nl> <4F310997.4080107@unsane.co.uk> <4F311144.6060504@nagual.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 7, 2012 at 1:55 PM, dick <dick@nagual.nl> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BdUSypVYzGPYLbDncgcMU_Jc7CYEf=6d_7WZ-BTvSSK98=-tw>