[zfs-discuss] Re: Reading a ZFS Snapshot

2007-05-18 Thread William D. Hathaway
I think it would be handy if a utility could read a full  zfs snapshot and 
restore subsets of files or directories like using something like tar -xf or 
ufsrestore -i.
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] Re: Reading a ZFS Snapshot

2007-05-18 Thread Chris Gerhard
I'm not sure what you want that the file system does not already provide.

you can use cp to copy files out, or find(1) to find them based on time or any 
other attribute and then cpio to copy them out.
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] Re: Reading a ZFS Snapshot

2007-05-18 Thread William D. Hathaway
An example would be if you had a raw snapshot on tape.  A single file or subset 
of files could be restored from it without needing the space to load the full 
snapshot into a zpool.  This would be handy if you have a zpool with 500GB of 
space and 300GB used.  If you had a snapshot that was 250GB and wanted to load 
it back up to restore a file, you wouldn't have sufficient space.
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Re: Reading a ZFS Snapshot

2007-05-18 Thread Toby Thain


On 18-May-07, at 1:57 PM, William D. Hathaway wrote:


An example would be if you had a raw snapshot on tape.


Unless I misunderstand ZFS, you can archive the contents of a  
snapshot, but there's no concept of a 'raw snapshot' divorced from a  
filesystem.


A single file or subset of files could be restored from it without  
needing the space to load the full snapshot into a zpool.  This  
would be handy if you have a zpool with 500GB of space and 300GB  
used.  If you had a snapshot that was 250GB and wanted to load it  
back up to restore a file, you wouldn't have sufficient space.



This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss