Skip to main content
NetApp Knowledge Base

FAQ: SnapDiff Support in ONTAP

Last Updated:

Applies to



What are the different versions of SnapDiff?

There are three versions of SnapDiff:

  • SnapDiff v1 is the legacy SnapDiff engine using ZAPI which can be used for FlexVols only.
  • SnapDiff v2 is a later version of SnapDiff using RPC and is available in clustered Data ONTAP 9.0 and later.
    • SnapDiff v2 supports FlexVols and is required for FlexGroup volume support in ONTAP 9.4 and later.
  • SnapDiff v3 refers to a set of REST APIs which include SnapDiff functionality as well as SnapMirror Cloud (SM-C) available to select licensed partners. SnapDiff v3 is also known as NetApp Backup Framework and is available in ONTAP 9.8 and later.

Attempts to use SnapDiff v1 against FlexGroup volumes will fail. For more information, see When performing a SnapDiff incremental backup of a FlexGroup volume, Spectrum Protect fails with "SnapDiff version 1 is not supported for Flexgroup". Check with your backup application vendor if you are unsure about what SnapDiff version they support.

How do I enable SnapDiff in ONTAP?

SnapDiff v1 is enabled in ONTAP by default and does not require running any commands to enable.

SnapDiff v2 and v3 are enabled by running the following command:

::> set adv
::*> vserver snapdiff-rpc-server on -vserver <svm_name>

Confirm SnapDiff v2/v3 has been enabled with the following command:

::> set adv
::*> vserver snapdiff-rpc-server show

Example output:

::*> vserver snapdiff-rpc-server show
Vserver                SnapDiff RPC Server State
-----------            --------------------------
svm1                   on

What type of volumes are supported for SnapDiff?

SnapDiff v1 and v2 are supported for FlexVols in ONTAP 9.9.1 and earlier. SnapDiff v2 is supported for FlexGroup volumes in ONTAP 9.4 and later. SnapDiff v3 is available in ONTAP 9.8 and later.

How do I configure SnapDiff?

Your backup application may require specific Role-Based Access Control (RBAC) authentication and NAS access configurations. Check with your backup application vendor's documentation on configuration requirements for ONTAP SnapDiff.

How do I use SnapDiff?

SnapDiff v1 and v2 is are invoked through ZAPI calls from third-party backup applications. SnapDiff v3 is only available to select licensed partners through REST API. SnapDiff cannot be invoked through the Command-Line Interface of ONTAP except to enable/disable the feature as described above.

Additional Information