Ross wrote:
> Aye, that's what I was hoping for.  Since ZFS seems to support nesting 
> filesystems, I was hoping that each filesystem would contain the others, so a 
> snapshot of the root filesystem would also be a snapshot of the others.
>   

IMHO, a file system is created only when you need to change its policies.
For example, I might want a read-only file system and a compressed file
system, so I would make two file systems.  If you want the same policies
for each file system, you'd be better off using directories.  Continuing
the policies decision, one of the policies may be backup frequency (I
really don't care to backup my music every day, but I would like to
backup my home directory every day).

> I'm still not sure if that's the case or not, it could be that -r just means 
> you have individual snapshots as well (handy for restores).  
>
> Going to do some testing now I have zfs running, if it comes to it I'm hoping 
> I can use -r and script a backup of all the filesystems.  Scripting zfs send 
> from that shouldn't be too hard, I'm just hoping it's not going to be too 
> complex to script the zfs receive side of it.
>   

Good idea, scripting tends to eliminate fumble-fingers failure modes :-)

> I guess the ideal for me would be for filesystems to include child 
> filesystems in their snaphots and for zfs snapshot -r to recursively snapshot 
> each filesystem, starting from the topmost branches of the tree and working 
> backwards.  
>   

There are many other ways to copy a directory structure, including cp 
(copy).

> That would mean you could backup the entire system by just copying one 
> snapshot, but you would have contained within that individual snapshots for 
> each child filesystem.
>
> Apologies for my inconsistent (or just plain wrong) use of terminology.  I've 
> only started using ZFS this week, and hadn't even touched a Unix system 
> before that!
>   

Welcome!  I hope you find Unix to be a very flexible system.
 -- richard

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

Reply via email to