Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Feb 2012 13:17:26 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        dick <dick@nagual.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Dump Restore on ZFS root system
Message-ID:  <alpine.BSF.2.00.1202071316210.88011@wonkity.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, 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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1202071316210.88011>