Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Feb 2012 11:23:03 +0000
From:      Vincent Hoffman <vince@unsane.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: Dump Restore on ZFS root system
Message-ID:  <4F310997.4080107@unsane.co.uk>
In-Reply-To: <4F31045B.9070408@nagual.nl>
References:  <4F31045B.9070408@nagual.nl>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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.

Vince
> yanta# df -h
> Filesystem                           Size    Used   Avail Capacity 
> Mounted on
> zroot                                    56G    335M     55G     1%    /
> devfs                                    1.0K    1.0K      0B  
> 100%    /dev
> zroot/tmp                            56G     42M     55G     0%    /tmp
> zroot/usr                              60G    4.7G     55G     8%    /usr
> zroot/usr/home                  58G    2.4G     55G     4%    /usr/home
> zroot/usr/ports                   56G    253M     55G     0%   
> /usr/ports
> zroot/usr/ports/distfiles    56G    291M     55G     1%   
> /usr/ports/distfiles
> zroot/usr/ports/packages  55G     21K     55G     0%   
> /usr/ports/packages
> zroot/var                              56G    571M     55G     1%    /var
> zroot/var/crash                   55G     23K     55G     0%   
> /var/crash
> zroot/var/db                        56G    337M     55G     1%    /var/db
> zroot/var/db/pkg                55G    3.7M     55G     0%    /var/db/pkg
> zroot/var/empty                 55G     21K     55G     0%    /var/empty
> zroot/var/log                       55G    827K     55G     0%   
> /var/log
> zroot/var/mail                     55G     22K     55G     0%   
> /var/mail
> zroot/var/run                       55G     53K     55G     0%   
> /var/run
> zroot/var/tmp                      55G    143K     55G     0%    /var/tmp
> devfs                                      1.0K    1.0K      0B  
> 100%    /var/named/dev
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4F310997.4080107>