Network and Storage Protocols
Network and Storage Protocols
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!
Solved! See The Solution
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.......
I don't know of a native way of doing this. Snapshots are block based, not file based.
-- Adam Fox
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.......
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.
Thanks everyone - exactly the kind of info I was looking for.
Is the snapdiff API call in the current 4.0 SDK? I can't find any reference to it in the 4.0 docs.
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?