Network Storage Protocols Discussions

Possible to determine changed content in snapshot?

rcg007talecris

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!

6 REPLIES 6

Re: Possible to determine changed content in snapshot?

adamfox

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

-- Adam Fox

Re: Possible to determine changed content in snapshot?

shaun_flynn

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

Re: Possible to determine changed content in snapshot?

adamfox

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.

Re: Possible to determine changed content in snapshot?

rcg007talecris

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

Re: Possible to determine changed content in snapshot?

thomas_tomlinson

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

Re: Possible to determine changed content in snapshot?

Daniel_Holt

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?

Earn Rewards for Your Review!
GPI Review Banner
All Community Forums
Public