Basesnapshotname
The basesnapshotname option specifies the snapshot to use as the base snapshot, when you perform a snapshot differential (snapdiff) backup of a NetApp filer volume. If you specify this option, you must also use the snapdiff option or an error occurs. If basesnapshotname is not specified, the useexistingbase option selects the most recent snapshot on the filer volume as the base snapshot.
If the specified snapshot cannot be found, an error is reported and the backup operation fails.
Supported Clients
This option can be used with supported x86_64 Linux and AIX® clients.
This option can be used with supported Windows clients.
Options File
This option can be specified in the client options file or on the command line.
Parameters
- snapshot_name
- Specifies the name of an existing snapshot to use as the base snapshot. The name specified can be a snapshot name, such as vol1_snap, or it can be the name of a scheduled NetApp backup that has a name like nightly.x, where x is the sequence number (where nightly.0 is the oldest snapshot).
- You can also use a pattern with wildcard characters to select
a snapshot. The wildcard characters can be either of the following:
- *
- An asterisk (*) matches any character.
- ?
- A question mark (?) matches a single character.
- The wildcards are useful if your snapshots follow a pattern, such
as including the date or data and time as part of the snapshot name.
For example, a snapshot created on November 12 2012 at 11:10:00 AM
could be saved as UserDataVol_121103111000_snapshot. The most recent snapshot that matches the pattern is selected as
the existing base. For example, if there are two saved snapshots (UserDataVol_121103111000_snapshot and UserDataVol_121103231000_snapshot, the UserDataVol_121103231100_snapshot is selected
because it is 12 hours newer than the other snapshot.
-basesnapshotname="UserDataVol_*_snapshot"
- Question marks work well for scheduled backups that follow a consistent
name pattern. This syntax selects the latest "nightly" backup
as the snapshot to use as the existing base.
-basenameshotname="nightly.?"
Examples
- Options file:
basesnapshotname nightly.?
basesnapshotname volum_base_snap
- Command line:
dsmc incr \\DRFiler\UserDataVol_Mirror_Share -snapdiff -useexistingbase -basesnapshotname="nightly.?"