> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- > boun...@opensolaris.org] On Behalf Of Euan Thoms > > pfexec zfs send rp...@first | pfexec zfs receive -u backup-pool/rpool > pfexec zfs send rpool/r...@first | pfexec zfs receive -u backup- > pool/rpool/ROOT > pfexec zfs send rpool/ROOT/opensolaris-2009.06-...@first | pfexec zfs > receive -u backup-pool/rpool/ROOT/OpenSolaris-2009.06-134 > pfexec zfs send rpool/d...@first | pfexec zfs receive -u backup- > pool/rpool/dump (and so on)
I notice you have many zfs filesystems inside of other zfs filesystems. While this is common practice, I will personally advise against it in general, unless you can name a reason why you want to do that. Here is one reason not to do that: If you're working in some directory, and you want to access a snapshot of some file you're working on, you have to go up to the root of the filesystem that you're currently in. If you go up too far and find a .zfs directory in some filesystem which is above your current filesystem, then you can't find your snapshots. You have to know precisely which is the right .zfs directory to go into. Also, as you've demonstrated, it makes your backup scripts much longer. > #pfexec zfs umount backup-pool/rpool/export/home/euan/VBOX-HDD > #pfexec zfs umount backup-pool/rpool/export/home/euan/Downloads Instead of mounting & unmounting the external zfs filesystems, I would recommend importing & exporting the external zpool. No need to mount/unmount. It's automatic by zpool import/export. _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss