Re: Dump Restore on ZFS root system
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. ___ 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"
Re: Dump Restore on ZFS root system
> > I'd use tar or cpio or pax or something. zfs has tools built in for this man zfs and look for "send" with the recursive option ___ 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"
Re: Dump Restore on ZFS root system
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@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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@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. ___ 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"
Re: Dump Restore on ZFS root system
On Tue, Feb 7, 2012 at 6:18 AM, William Brown wrote: > Why not use the ZFS send / receive command? and how well does that work on UFS filesystems? ___ 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"
Re: Dump Restore on ZFS root system
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@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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" Why not use the ZFS send / receive command? Sincerely, William Brown Research & Teaching, Technology Services The University of Adelaide, AUSTRALIA 5005 CRICOS Provider Number 00123M - IMPORTANT: This message may contain confidential or legally privileged information. If you think it was sent to you by mistake, please delete all copies and advise the sender. For the purposes of the SPAM Act 2003, this email is authorised by The University of Adelaide. pgp.mit.edu http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3C0AC6DAB2F928A2 signature.asc Description: Message signed with OpenPGP using GPGMail
Re: Dump Restore on ZFS root system
On Tue, Feb 7, 2012 at 1:55 PM, 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) You can always clone it using zfs send / receive to your vm: http://www.aisecure.net/2011/03/26/cloning-a-zfs-bootable-system/ -- George Kontostanos Aicom telecoms ltd http://www.aisecure.net ___ 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"
Re: Dump Restore on ZFS root system
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) ___ 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"
Re: Dump Restore on ZFS root system
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 SizeUsed Avail Capacity > Mounted on > zroot56G335M 55G 1%/ > devfs1.0K1.0K 0B > 100%/dev > zroot/tmp56G 42M 55G 0%/tmp > zroot/usr 60G4.7G 55G 8%/usr > zroot/usr/home 58G2.4G 55G 4%/usr/home > zroot/usr/ports 56G253M 55G 0% > /usr/ports > zroot/usr/ports/distfiles56G291M 55G 1% > /usr/ports/distfiles > zroot/usr/ports/packages 55G 21K 55G 0% > /usr/ports/packages > zroot/var 56G571M 55G 1%/var > zroot/var/crash 55G 23K 55G 0% > /var/crash > zroot/var/db56G337M 55G 1%/var/db > zroot/var/db/pkg55G3.7M 55G 0%/var/db/pkg > zroot/var/empty 55G 21K 55G 0%/var/empty > zroot/var/log 55G827K 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 55G143K 55G 0%/var/tmp > devfs 1.0K1.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"
Dump Restore on ZFS root system
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? yanta# df -h Filesystem SizeUsed Avail Capacity Mounted on zroot56G335M 55G 1%/ devfs1.0K1.0K 0B 100%/dev zroot/tmp56G 42M 55G 0%/tmp zroot/usr 60G4.7G 55G 8%/usr zroot/usr/home 58G2.4G 55G 4%/usr/home zroot/usr/ports 56G253M 55G 0%/usr/ports zroot/usr/ports/distfiles56G291M 55G 1% /usr/ports/distfiles zroot/usr/ports/packages 55G 21K 55G 0%/usr/ports/packages zroot/var 56G571M 55G 1%/var zroot/var/crash 55G 23K 55G 0%/var/crash zroot/var/db56G337M 55G 1%/var/db zroot/var/db/pkg55G3.7M 55G 0%/var/db/pkg zroot/var/empty 55G 21K 55G 0%/var/empty zroot/var/log 55G827K 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 55G143K 55G 0%/var/tmp devfs 1.0K1.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"