> > >I'm wondering, will zfs diff work between two zfs pools?
> > >   
> >
> > No.  Only between snapshots within the same dataset within the same pool.
> 
> Only within the same dataset?  What about a snapshot of a clone,
> compared with a snapshot from the source of the clone?
> 
> In other words, given this scenario:
> 
> # zfs create rpool/testdiff
> # zfs snapshot rpool/testd...@1
> # zfs clone rpool/testd...@1 rpool/testdiffchild
> # zfs snapshot rpool/testdiffch...@2
> 
> Then I can do this:
> 
> # zfs send -i rpool/testd...@1 rpool/testdiffch...@2 
> 
> This seems to me to be a useful application; perhaps what you meant
> was "it will only work when 'zfs send' would work"?

That would be exactly what I would like to use. If I want to sync two
datasets using incremental send, the only way is to remember which
snapshot has to be a base fore next incremental send. Or name snapshots
by a pattern (001, 002, ...) and trust that they won't be renamed and/or
deleted and recreated.

If I'm wrong and I overlooked something, please correct me.

Thank you!

-- 
        Vlad
_______________________________________________
opensolaris-arc mailing list
[email protected]

Reply via email to