Skip to main content
SnapManager for SAP

Snapshot copy naming

Contributors

You can specify a naming convention or pattern to describe the Snapshot copies related to the profile you create or update. You can also include custom text in all Snapshot copy names.

You can change the Snapshot copy naming pattern when you create a profile or after the profile has been created. The updated pattern applies only to Snapshot copies that have not yet occurred; Snapshot copies that exist retain the previous snapname pattern.

The following examples show the two Snapshot copy names taken for a volume. The second Snapshot copy listed has F_H_1 in the middle of its name. The "1" indicates that it is the first Snapshot copy taken in the backup set. The first Snapshot copy listed is the most recent and has a "2," which means it is the second Snapshot copy taken. The "1" Snapshot copy includes the datafiles; the "2" Snapshot copy includes the control files. Because the control file Snapshot copies must be taken after the data file Snapshot copy, two Snapshot copies are required.

smsap_profile_sid_f_h_2_8ae482831ad14311011ad14328b80001_0
smsap_profile_sid_f_h_1_8ae482831ad14311011ad14328b80001_0

The default pattern includes the required smid, as shown in the following:

  • Default pattern: smsap_{profile}_{db-sid}_{scope}_{mode}_{smid}

  • Example: smsap_my_profile_rac51_f_h_2_8abc01e915a55ac50115a55acc8d0001_0

You can use the following variables in the Snapshot copy name:

Variable name Description Example value

smid (Required)

The SnapManager unique ID is the only required element when creating a name for the Snapshot copy. This ID ensures that you create a unique Snapshot name.

8abc01e915a55ac50115a55acc8d0001_0

class (Optional)

Retention class associated with the backup for the profile and indicated by hourly (h), daily (d), weekly (w), monthly (m), or unlimited (u).

d

comment (Optional)

Comment associated with the backup for the profile. Spaces in this field will be converted to underscores when the Snapshot copy name is complete.

sample_comment_spaces_replaced

date (Optional)

Date that the backup occurs for the profile. Date values are padded with zeros if necessary. (yyyymmdd)

20070218

db-host (Optional)

Database host name associated with the profile being created or updated.

my_host

db-name (Optional)

Database name associated with the Snapshot copy you create.

rac5

db-sid (Optional)

Database sid associated with the Snapshot copy you create.

rac51

label (Optional)

Label associated with the backup for the profile.

sample_label

mode (Optional)

Specifies whether the backup is completed online (h) or offline (c).

h

profile (Optional)

Profile name associated with the backup you create.

my_profile

scope (Optional)

Specifies whether the backup is either full (f) or partial (p).

f

time (Optional)

Time that the backup occurs for the profile. Time values for this variable use the 24-hour clock and are padded with zeros if necessary. For example, 5:32 and 8 seconds appears as 053208 (hhmmss).

170530

time-zone (Optional)

Time zone specified for the target database host.

EST

usertext (Optional)

Custom text that you can enter.

prod

Note SnapManager for SAP does not support the colon (:) symbol in the long forms of the names for Snapshot copies.