AIX operating systemsWindows operating systemsLinux operating systems

Snapdiff

Using the snapdiff option with the incremental command streamlines the incremental backup process. The command runs an incremental backup of the files that were reported as changed by NetApp instead of scanning all of the volume for changed files.

Windows operating systemsThe snapdiff (snapshot difference) option is for backing up NAS/N-Series file server volumes that are NFS or CIFS attached.

Windows operating systemsRestriction: None of the NetApp predefined shares, including C$, works with the Tivoli® Storage Manager snapshot difference option because Tivoli Storage Manager client cannot determine their mount points programmatically.

Windows operating systemsAIX operating systemsLinux operating systemsYou must configure a user ID and password on the Tivoli Storage Manager client to enable snapshot difference processing.

Windows operating systemsAIX operating systemsLinux operating systemsUse this option with an incremental backup of a NAS file server volume, instead of a simple incremental backup or an incremental backup with the snapshotroot option, whenever the NAS file server is running ONTAP 7.3.0, or later. Do not use the snapdiff and snapshotroot options together.

AIX operating systemsLinux operating systemsRestriction: Incremental backups with snapshot difference processing are only available with the Tivoli Storage Manager 64-bit AIX® client and the Tivoli Storage Manager Linux x86_64 client.

The first time that you run an incremental backup with the snapshot difference option, a snapshot is created (the base snapshot) and a traditional incremental backup is run by using this snapshot as the source. The name of the snapshot that is created is recorded in the Tivoli Storage Manager database. The initial incremental backup must complete without failure in order for the next backup operation to use snapshot difference processing.

The second time an incremental backup is run with this option, a newer snapshot is either created, or an existing one is used (depending on the value set for the diffsnapshot option) to find the differences between these two snapshots. The second snapshot is called the diffsnapshot, or differences snapshot. Tivoli Storage Manager then incrementally backs up the files that are reported as changed, by NetApp, to the Tivoli Storage Manager server. The file system that you select for snapshot difference processing must be mounted to the root of the volume. You cannot use the snapdiff option for any file system that is not mounted to the root of the volume. After you backed up the data with the snapdiff option, the snapshot that was used as the base snapshot is deleted from the snapshot directory.

Windows operating systemsOn Windows systems, the snapshot directory is in ~snapshot.

AIX operating systemsLinux operating systemsOn AIX and Linux systems, the snapshot directory is in .snapshot.

Tivoli Storage Manager does not delete any snapshots that it did not create.

When a snapshot-differential-incremental backup operation completes, Tivoli Storage Manager ensures that only the most recently-registered base snapshot persists on the filer volume. All snapshots that are created by a Tivoli Storage Manager snapshot-differential-incremental backup begin with the characters "TSM_". If you use a snapshot tool other than Tivoli Storage Manager to produce snapshots, ensure that you do not use the string "TSM_" at the beginning of the snapshot name. If the snapshot names begin with "TSM_", the files are deleted when Tivoli Storage Manager initiates the next snapshot-differential-incremental backup operation.

To run a snapshot-differential-incremental backup of read-only NetApp filer volumes, the useexistingbase option must be specified to prevent an attempt to create a snapshot on the read-only volume. Also, specify the name of the base snapshot to use (basesnapshotname option) and the name of the differential snapshot to use (diffsnapshotname option).

For NAS and N-Series file servers that are running ONTAP 7.3.0, or later, you can use the createnewbase option to back up any files that were skipped because of one of the following reasons:

Tip: You can use the snapdiffhttps option to run snapshot-differential-incremental backups of NetApp filers with a secure HTTPS connection. To successfully run snapshot-differential-incremental backups, previous releases of the backup-archive client required HTTP administrative access to be enabled on the NetApp filer. With the snapdiffhttps option, you can establish a secure administrative session with the NetApp filer regardless of whether HTTP administrative access is enabled on the filer.
In the list of options that are used by the traditional incremental command, the last column shows the interaction of each option with the snapdiff option. The following information describes the definitions of valid, not valid, and no effect:
Valid
Processing runs normally when the option is used.
Not valid
If the option is used with the snapdiff option, an error message is generated.
No effect
The option can be used, but it is ignored.
Table 1. Incremental command: Related options
Option Where specified With snapdiff
AIX operating systemsLinux operating systemsasnodename AIX operating systemsLinux operating systemsClient system options file (dsm.sys) or command line. AIX operating systemsLinux operating systemsValid
Windows operating systemsasnodename Windows operating systemsClient options file (dsm.opt) or command line. Windows operating systemsValid
AIX operating systemsLinux operating systemsautomount AIX operating systemsLinux operating systemsClient options file (dsm.opt). AIX operating systemsLinux operating systemsNo effect
Windows operating systemsautofsrename Windows operating systemsClient options file (dsm.opt) only. Windows operating systemsNo effect
AIX operating systemsLinux operating systemsbasesnapshotname AIX operating systemsLinux operating systemsClient options file (dsm.opt) or command line. AIX operating systemsLinux operating systemsValid
Windows operating systemsbasesnapshotname Windows operating systemsClient options file (dsm.opt) or command line. Windows operating systemsValid
AIX operating systemsLinux operating systemschangingretries AIX operating systemsLinux operating systemsClient system options file (dsm.sys) or command line. AIX operating systemsLinux operating systemsNo effect
Windows operating systemschangingretries Windows operating systemsClient options file (dsm.opt) or command line. Windows operating systemsNo effect
Windows operating systemscompressalways Windows operating systemsClient options file (dsm.opt) or command line. Windows operating systemsValid
AIX operating systemsLinux operating systemscompressalways AIX operating systemsLinux operating systemsClient options file (dsm.opt) or command line. AIX operating systemsLinux operating systemsValid
Windows operating systemscompression Windows operating systemsClient options file (dsm.opt) or command line. Windows operating systemsValid
AIX operating systemsLinux operating systemscompression AIX operating systemsLinux operating systemsClient system options file (dsm.sys) within a server stanza, or command line. AIX operating systemsLinux operating systemsValid
AIX operating systemsLinux operating systemsWindows operating systemscreatenewbase AIX operating systemsLinux operating systemsWindows operating systemsCommand line only. AIX operating systemsLinux operating systemsWindows operating systemsValid
diffsnapshot Command line only. Valid
AIX operating systemsLinux operating systemsdiffsnapshotname AIX operating systemsLinux operating systemsClient options file (dsm.opt) or command line. AIX operating systemsLinux operating systemsValid
Windows operating systemsdiffsnapshotname Windows operating systemsClient options file (dsm.opt) or command line. Windows operating systemsValid
dirsonly Command line only. Valid
Windows operating systemsdomain Windows operating systemsClient options file (dsm.opt) or command line only. Windows operating systemsValid
AIX operating systemsLinux operating systemsdomain AIX operating systemsLinux operating systemsClient system options file (dsm.sys), client user-options file (dsm.opt), or command line. AIX operating systemsLinux operating systemsValid
AIX operating systemsLinux operating systemsefsdecrypt AIX operating systemsLinux operating systemsClient system options file (dsm.sys), client user-options file (dsm.opt), or command line. AIX operating systemsLinux operating systemsNo effect
AIX operating systemsLinux operating systemsenablelanfree AIX operating systemsLinux operating systemsClient system options file (dsm.sys) or command line. AIX operating systemsLinux operating systemsValid
Windows operating systemsenablelanfree Windows operating systemsClient options file (dsm.opt) or command line. Windows operating systemsValid
AIX operating systemsLinux operating systemsencryptiontype AIX operating systemsLinux operating systemssystem-options file (dsm.sys) within a server stanza. AIX operating systemsLinux operating systemsValid
Windows operating systemsencryptiontype Windows operating systemsClient options file (dsm.opt). Windows operating systemsValid
Windows operating systemsencryptkey Windows operating systemsClient options file (dsm.opt). Windows operating systemsValid
AIX operating systemsLinux operating systemsencryptkey AIX operating systemsLinux operating systemsSystem-options file (dsm.sys) within a server stanza. AIX operating systemsLinux operating systemsValid
AIX operating systemsLinux operating systemsexclude.fs.nas AIX operating systemsLinux operating systemsClient system options file (dsm.sys). AIX operating systemsLinux operating systemsNo effect
Windows operating systemsexclude.fs.nas Windows operating systemsClient options file (dsm.opt). Windows operating systemsNo effect
filelist Command line only. Not valid
filesonly Command line only. Valid
AIX operating systemsLinux operating systemsfollowsymboliclink AIX operating systemsLinux operating systemsClient options file (dsm.opt). AIX operating systemsLinux operating systemsNo effect
AIX operating systemsLinux operating systemsinclude.fs.nas AIX operating systemsLinux operating systemsClient system options file (dsm.sys) or command line. AIX operating systemsLinux operating systemsNo effect
Windows operating systemsinclude.fs.nas Windows operating systemsClient options file (dsm.opt) or command line. Windows operating systemsNo effect
AIX operating systemsLinux operating systemsinclexcl AIX operating systemsLinux operating systemsClient system options file (dsm.sys). AIX operating systemsLinux operating systemsValid, but only when a file change is detected by NetApp.
Windows operating systemsinclexcl Windows operating systemsClient options file (dsm.opt). Windows operating systemsValid, but only when a file change is detected by NetApp.
incrbydate Command line only. Not valid
Windows operating systemsmemoryefficientbackup Windows operating systemsClient options file (dsm.opt), server, or command line. Windows operating systemsNo effect
AIX operating systemsLinux operating systemsmemoryefficientbackup AIX operating systemsLinux operating systemsThis option is allowed in both dsm.sys and dsm.opt, but the value in dsm.opt is ignored if it is also in dsm.sys. You can also place this option within a server stanza, or on the initial command line. AIX operating systemsLinux operating systemsNo effect
monitor Command line only. Not valid
AIX operating systemsLinux operating systemsnojournal AIX operating systemsLinux operating systemsCommand line only. AIX operating systemsLinux operating systemsNot valid
Windows operating systemsnojournal Windows operating systemsCommand line only. Windows operating systemsNot valid
AIX operating systemsLinux operating systemspostsnapshotcmd AIX operating systemsLinux operating systemsClient system options file (dsm.sys) or with the include.fs option. AIX operating systemsLinux operating systemsValid
Windows operating systemspostsnapshotcmd Windows operating systemsClient options file (dsm.opt) or with the include.fs option. Windows operating systemsValid
AIX operating systemsLinux operating systems

preservelastaccessdate

AIX operating systemsLinux operating systemsClient user-options file (dsm.opt) or command line. AIX operating systemsLinux operating systemsValid
Windows operating systemspreservelastaccessdate Windows operating systemsClient options file (dsm.opt) or command line. Windows operating systemsValid
AIX operating systemsLinux operating systemspresnapshotcmd AIX operating systemsLinux operating systemsClient system options file (dsm.sys) or with the include.fs option. AIX operating systemsLinux operating systemsValid
Windows operating systemspresnapshotcmd Windows operating systemsClient options file (dsm.opt) or with the include.fs option. Windows operating systemsValid
AIX operating systemsLinux operating systemsremoveoperandlimit AIX operating systemsLinux operating systemsCommand line only. AIX operating systemsLinux operating systemsValid
Windows operating systemsresetarchiveattribute Windows operating systemsClient options file (dsm.opt). Windows operating systemsValid
AIX operating systemsLinux operating systemsskipaclupdatecheck AIX operating systemsLinux operating systemsClient options file (dsm.opt). AIX operating systemsLinux operating systemsValid
Windows operating systemsskipntpermissions Windows operating systemsClient options file (dsm.opt) or command line. Windows operating systemsValid
Windows operating systemsskipntsecuritycrc Windows operating systemsClient options file (dsm.opt) or command line. Windows operating systemsValid
AIX operating systemsLinux operating systemsWindows operating systemssnapdiffhttps AIX operating systemsLinux operating systemsWindows operating systemsCommand line only. AIX operating systemsLinux operating systemsWindows operating systemsValid
AIX operating systemsLinux operating systemssnapshotcachesize AIX operating systemsLinux operating systemsClient system options file (dsm.sys) or with the include.fs option. AIX operating systemsLinux operating systemsNo effect
AIX operating systemsLinux operating systemssnapshotproviderfs AIX operating systemsLinux operating systemsSystem-options file (dsm.sys) within a server stanza or with the include.fs option. AIX operating systemsLinux operating systemsNot valid
Windows operating systemssnapshotproviderfs Windows operating systemsClient options file (dsm.opt) or with the include.fs option. Windows operating systemsNot valid
AIX operating systemsLinux operating systemssnapshotproviderimage AIX operating systemsLinux operating systemsClient system options file (dsm.sys) or with the include.image option. AIX operating systemsLinux operating systemsNot valid
Windows operating systemssnapshotproviderimage Windows operating systemsClient options file (dsm.opt) or with the include.image option. Windows operating systemsNot valid
snapshotroot Command line only. Not valid
subdir Client options file (dsm.opt) or command line. Not valid
Windows operating systemssubfilebackup Windows operating systemsClient options file (dsm.opt) or command line. Windows operating systemsNot valid
AIX operating systemsLinux operating systemstapeprompt AIX operating systemsLinux operating systemsClient options file (dsm.opt) or command line. AIX operating systemsLinux operating systemsValid
Windows operating systemstapeprompt Windows operating systemsClient options file (dsm.opt) or command line. Windows operating systemsValid
AIX operating systemsLinux operating systemstoc AIX operating systemsLinux operating systemsCommand line only. AIX operating systemsLinux operating systemsNot valid
Windows operating systemstoc Windows operating systemsCommand line only. Windows operating systemsNot valid
AIX operating systemsLinux operating systemsuseexistingbase AIX operating systemsLinux operating systemsCommand line only. AIX operating systemsLinux operating systemsValid
Windows operating systemsuseexistingbase Windows operating systemsCommand line only. Windows operating systemsValid
virtualfsname Command line only. Not valid
AIX operating systemsLinux operating systemsvirtualmountpoint AIX operating systemsLinux operating systemsClient system options file (dsm.sys). AIX operating systemsLinux operating systemsNot valid

Supported Clients

This option is valid for the following clients:
  • Windows operating systemsAll Windows clients except IA® 64 bit
  • AIX operating systemsAIX 64-bit clients
  • Linux operating systemsLinux x86_64 clients

Syntax

Read syntax diagramSkip visual syntax diagram
>>-SNAPDiff----------------------------------------------------><

Parameters

There are no parameters for this option.

Examples

AIX operating systemsLinux operating systemsCommand line:
AIX operating systemsLinux operating systemsPerform a snapshot-differential-incremental backup of an NFS mounted file system /vol/vol1 hosted on the file server homestore.example.com, where /net/home1 is the mount point of /vol/vol1.
AIX operating systemsLinux operating systemsincremental -snapdiff -diffsnapshot=latest /net/home1
Windows operating systemsCommand line:
Windows operating systemsPerform a snapshot-differential-incremental backup from a snapshot that is taken of a network share //homestore.example.com/vol/vol1 mounted on drive H:, where homestore.example.com is a file server.
Windows operating systemsincremental -snapdiff H:
Windows operating systemsPerform a snapshot-differential-incremental backup from a snapshot that is taken of a network share //homestore.example.com/vol/vol1 mounted on drive H:, where homestore.example.com is a file server. The -diffsnapshot option value of LATEST means that the operation uses the latest snapshot (the active snapshot) for volume H:.
Windows operating systemsincremental -snapdiff H: -diffsnapshot=latest
Command line:
Run a one-time full incremental backup after detecting that the NetApp server has migrated to a unicode-enabled file server from a server that did not support unicode file names.AIX operating systemsLinux operating systems
dsmc incremental -snapdiff -createnewbase=migrate /net/home1 
Windows operating systems
dsmc incremental -snapdiff -createnewbase=migrate h:
Run a snapshot-differential-incremental backup after detecting that the NetApp server has migrated to a unicode-enabled file server from a server that did not support unicode file names. This command suppresses the warning message.AIX operating systemsLinux operating systems
dsmc incremental -snapdiff -createnewbase=ign /net/home1
Windows operating systems
dsmc incremental -snapdiff -createnewbase=ign h:
Perform a full incremental backup because you made some include or exclude changes:AIX operating systemsLinux operating systems
dsmc incremental -snapdiff -createnewbase=yes /net/home1 
Windows operating systems
dsmc incremental -snapdiff -createnewbase=yes h: