Dump Restore on ZFS root system

Dick Hoogendijk dick at nagual.nl
Tue Feb 7 16:05:35 UTC 2012


Op 7-2-2012 15:18, William Brown schreef:
> On 07/02/2012, at 22:25, 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 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)
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> Why not use the ZFS send / receive command?
After reading the info on 
http://www.aisecure.net/2011/03/26/cloning-a-zfs-bootable-system/ I 
might be doing that. Sounds not too difficult and it is not really a 
problem to have ZFS on the virtual machine. It runs good enough, at 
least solaris 11 runs smoothly as a VM. Thanks for the tips.


More information about the freebsd-questions mailing list