Dump Restore on ZFS root system
Warren Block
wblock at wonkity.com
Tue Feb 7 20:17:27 UTC 2012
On Tue, 7 Feb 2012, 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)
Or rsync, with -a, -H, and probably some other options I can't recall.
More information about the freebsd-questions
mailing list