Network and Storage Protocols

Possible to determine changed content in snapshot?

rcg007talecris
4,630 Views

Question - anyone know of a way (API, CLI, other) to determine which files actually have changed nodes from one snapshot to another (or from the base to a snapshot)?  Limiting this to one generation only at the moment.  Obviously I am looking for something beyond the brute force method of file by file meta data compare between two generations of snapshot.

The base volume is assumed in this case to contain files shared via NFS, CIFS, etc. rather than a block level LUN.

This is not specifically backup related, which would be an obvious follow-up.  More of a theoretical "is it possible" kind of thing...

Thanks in advance!

1 ACCEPTED SOLUTION

shaun_flynn
4,630 Views

TSM6.1 can do this utilizing the SnapDiff API that NetApp created. So there is some API out there which hopefully more backup apps or ZAPI itself could query in the future.......

View solution in original post

6 REPLIES 6

adamfox
4,630 Views

I don't know of a native way of doing this. Snapshots are block based, not file based.

-- Adam Fox

shaun_flynn
4,631 Views

TSM6.1 can do this utilizing the SnapDiff API that NetApp created. So there is some API out there which hopefully more backup apps or ZAPI itself could query in the future.......

adamfox
4,630 Views

I stand corrected.  I think I had forgotten about the SnapDiff API call.  So it's available in the ONTAP SDK if you want to code to it.

rcg007talecris
4,630 Views

Thanks everyone - exactly the kind of info I was looking for.

thomas_tomlinson
4,630 Views

Is the snapdiff API call in the current 4.0 SDK?  I can't find any reference to it in the 4.0 docs.

Daniel_Holt
4,332 Views

Hi Guys, just revisiting this option. I'm new to the SDK, can someone explain how this works. Its now 5 years on, is there any other way to get the same solution?

Public