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-unsubscr...@freebsd.org" _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"