AIX operating systems Windows operating systems Linux operating systems
IBM Tivoli Storage Manager, Version 7.1

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 systems The snapdiff option is for backing up NAS/N-Series file server volumes that are NFS or CIFS attached.

Windows operating systems Restriction: 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 systems AIX operating systems Linux operating systems You must configure a user ID and password on the Tivoli Storage Manager client to enable snapshot difference processing.

Windows operating systems AIX operating systems Linux operating systems Use this option with an incremental backup of a NAS file server volume instead of a simple incremental or incremental with snapshotroot whenever the NAS file server is running ONTAP 7.3.0, or later, for performance reasons. Do not use the snapdiff and snapshotroot options together.

AIX operating systems Linux operating systems Restriction: 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 to find the differences between these two snapshots. The second snapshot is called the diffsnapshot. Tivoli Storage Manager then incrementally backs up the files 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 systems On Windows systems, the snapshot directory is in ~snapshot. AIX operating systems Linux operating systems On AIX and Linux systems, the snapshot directory is in .snapshot. Tivoli Storage Manager does not delete the snapshot if it was not created by Tivoli Storage Manager. You can also run a snapshot-difference incremental-backup by specifying the -diffsnapshot=latest option.

To run a snapshot differential 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 backups of NetApp filers with a secure HTTPS connection. To successfully run snapshot differential 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 systems Linux operating systems asnodename Client system options file (dsm.sys) or command line. Valid
Windows operating systems asnodename Client options file (dsm.opt) or command line. Valid
AIX operating systems Linux operating systems automount Client options file (dsm.opt). No effect
Windows operating systems autofsrename Client options file (dsm.opt) only. No effect
AIX operating systems Linux operating systems basesnapshotname Client options file (dsm.opt) or command line. Valid
Windows operating systems basesnapshotname Client options file (dsm.opt) or command line. Valid
AIX operating systems Linux operating systems changingretries Client system options file (dsm.sys) or command line. No effect
Windows operating systems changingretries Client options file (dsm.opt) or command line. No effect
Windows operating systems compressalways Client options file (dsm.opt) or command line. Valid
AIX operating systems Linux operating systems compressalways Client options file (dsm.opt) or command line. Valid
Windows operating systems compression Client options file (dsm.opt) or command line. Valid
AIX operating systems Linux operating systems compression Client system options file (dsm.sys) within a server stanza, or command line. Valid
AIX operating systems Linux operating systems Windows operating systems createnewbase Command line only. Valid
diffsnapshot Command line only. Valid
AIX operating systems Linux operating systems diffsnapshotname Client options file (dsm.opt) or command line. Valid
Windows operating systems diffsnapshotname Client options file (dsm.opt) or command line. Valid
dirsonly Command line only. Valid
Windows operating systems domain Client options file (dsm.opt) or command line only. Valid
AIX operating systems Linux operating systems domain Client system options file (dsm.sys), client user-options file (dsm.opt), or command line. Valid
AIX operating systems Linux operating systems efsdecrypt Client system options file (dsm.sys), client user-options file (dsm.opt), or command line. No effect
AIX operating systems Linux operating systems enablelanfree Client system options file (dsm.sys) or command line. Valid
Windows operating systems enablelanfree Client options file (dsm.opt) or command line. Valid
AIX operating systems Linux operating systems encryptiontype system-options file (dsm.sys) within a server stanza. Valid
Windows operating systems encryptiontype Client options file (dsm.opt). Valid
Windows operating systems encryptkey Client options file (dsm.opt). Valid
AIX operating systems Linux operating systems encryptkey System-options file (dsm.sys) within a server stanza. Valid
AIX operating systems Linux operating systems exclude.fs.nas Client system options file (dsm.sys). No effect
Windows operating systems exclude.fs.nas Client options file (dsm.opt). No effect
filelist Command line only. Not valid
filesonly Command line only. Valid
AIX operating systems Linux operating systems followsymboliclink Client options file (dsm.opt). No effect
AIX operating systems Linux operating systems include.fs.nas Client system options file (dsm.sys) or command line. No effect
Windows operating systems include.fs.nas Client options file (dsm.opt) or command line. No effect
AIX operating systems Linux operating systems inclexcl Client system options file (dsm.sys). Valid, but only when a file change is detected by NetApp.
Windows operating systems inclexcl Client options file (dsm.opt). Valid, but only when a file change is detected by NetApp.
incrbydate Command line only. Not valid
Windows operating systems memoryefficientbackup Client options file (dsm.opt), server, or command line. No effect
AIX operating systems Linux operating systems memoryefficientbackup This 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. No effect
monitor Command line only. Not valid
AIX operating systems Linux operating systems nojournal Command line only. Not valid
Windows operating systems nojournal Command line only. Not valid
AIX operating systems Linux operating systems postsnapshotcmd Client system options file (dsm.sys) or with the include.fs option. Valid
Windows operating systems postsnapshotcmd Client options file (dsm.opt) or with the include.fs option. Valid
AIX operating systems Linux operating systems

preservelastaccessdate

Client user-options file (dsm.opt) or command line. Valid
Windows operating systems preservelastaccessdate Client options file (dsm.opt) or command line. Valid
AIX operating systems Linux operating systems presnapshotcmd Client system options file (dsm.sys) or with the include.fs option. Valid
Windows operating systems presnapshotcmd Client options file (dsm.opt) or with the include.fs option. Valid
AIX operating systems Linux operating systems removeoperandlimit Command line only. Valid
Windows operating systems resetarchiveattribute Client options file (dsm.opt). Valid
AIX operating systems Linux operating systems skipaclupdatecheck Client options file (dsm.opt). Valid
Windows operating systems skipntpermissions Client options file (dsm.opt) or command line. Valid
Windows operating systems skipntsecuritycrc Client options file (dsm.opt) or command line. Valid
AIX operating systems Linux operating systems Windows operating systems snapdiffhttps Command line only. Valid
AIX operating systems Linux operating systems snapshotcachesize Client system options file (dsm.sys) or with the include.fs option. No effect
AIX operating systems Linux operating systems snapshotproviderfs System-options file (dsm.sys) within a server stanza or with the include.fs option. Not valid
Windows operating systems snapshotproviderfs Client options file (dsm.opt) or with the include.fs option. Not valid
AIX operating systems Linux operating systems snapshotproviderimage Client system options file (dsm.sys) or with the include.image option. Not valid
Windows operating systems snapshotproviderimage Client options file (dsm.opt) or with the include.image option. Not valid
snapshotroot Command line only. Not valid
subdir Client options file (dsm.opt) or command line. Not valid
Windows operating systems subfilebackup Client options file (dsm.opt) or command line. Not valid
AIX operating systems Linux operating systems tapeprompt Client options file (dsm.opt) or command line. Valid
Windows operating systems tapeprompt Client options file (dsm.opt) or command line. Valid
AIX operating systems Linux operating systems toc Command line only. Not valid
Windows operating systems toc Command line only. Not valid
AIX operating systems Linux operating systems useexistingbase Command line only. Valid
Windows operating systems useexistingbase Command line only. Valid
virtualfsname Command line only. Not valid
AIX operating systems Linux operating systems virtualmountpoint Client system options file (dsm.sys). Not valid

Supported Clients

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

Syntax

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

Parameters

There are no parameters for this option.

Examples

AIX operating systems Linux operating systems Command line:
Perform a snapdiff 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.
incremental -snapdiff -diffsnapshot=latest /net/home1
Windows operating systems Command line:
Perform a snapdiff 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.
incremental -snapdiff H:
Perform a snapdiff 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:.
incremental -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 systems Linux operating systems
dsmc incremental -snapdiff -createnewbase=migrate /net/home1 
Windows operating systems
dsmc incremental -snapdiff -createnewbase=migrate h:
Run a snapshot difference 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 systems Linux 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 systems Linux operating systems
dsmc incremental -snapdiff -createnewbase=yes /net/home1 
Windows operating systems
dsmc incremental -snapdiff -createnewbase=yes h:


Feedback