Re: [zfs-discuss] backup pool

2010-04-09 Thread Richard Elling
try again... On Apr 9, 2010, at 5:33 AM, F. Wessels wrote: > Hi all, > > I want to backup a pool called mpool. I want to do this by doing a zfs send > of a mpool snapshot and receive into a different pool called bpool. All this > on the same machine. > I'm sharing various filesystems via zfs sh

Re: [zfs-discuss] backup pool

2010-04-09 Thread F. Wessels
Hi Richard, thanks for the reply. As you can see I already use that option. But that doesn't prevent the filesystems in the pool from mounting when I import the pool after it was exported. I'm specifically looking for a zpool import option to prevent the filesystems from mounting automatically.

Re: [zfs-discuss] backup pool

2010-04-09 Thread Richard Elling
Use the "-u" option on the receiving pool. From the zfs(1m) man page: -u File system that is associated with the received stream is not mounted. NB this works for root pools, too. -- richard On Apr 9, 2010, at 5:33 AM, F. Wessels wrote: > Hi all, > > I

[zfs-discuss] backup pool

2010-04-09 Thread F. Wessels
Hi all, I want to backup a pool called mpool. I want to do this by doing a zfs send of a mpool snapshot and receive into a different pool called bpool. All this on the same machine. I'm sharing various filesystems via zfs sharenfs and sharesmb. Sending and receiving of the entire pool works as e