Dump Restore on ZFS root system

George Kontostanos gkontos.mail at gmail.com
Tue Feb 7 14:28:54 UTC 2012


On Tue, Feb 7, 2012 at 1:55 PM, dick <dick at 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 at banshee /backup/local/zfs]# dump -b 64  -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/


-- 
George Kontostanos
Aicom telecoms ltd
http://www.aisecure.net


More information about the freebsd-questions mailing list