NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

Can I change snapshot name not to include the date and time?

bbjholcomb
8,082 Views

We have data centers around the world so we have different time zones, it would help if we configure it they way it is in 7DOT, for example:

7CODT hourly.0 in cDOT it is hourly.2013-11-15_0401

5 REPLIES 5

JTVNETAPP
8,082 Views

Interestingly, the option you want looks like it is a volume attribute.

Take a look at "volume modify -sched-snap-name". 

Quoting from the Commands_Manual_Page_Reference under the volume modify command:

[-sched-snap-name {create_time|ordinal}] - Naming Scheme for Automatic Snapshots

This option specifies the naming convention for automatic Snapshot copies. If set to create-time, automatic Snapshot copies are named using the format <schedule_name>.yyyy-mm-dd_hhmm. Example: "hourly.2010-04-01_0831". If set to ordinal, automatic Snapshot copies are named using the format <schedule_name>.<n>. Example: "hourly.3"

JOHAN_VANBAARLEN
8,082 Views

But when you actually try that command on a clustered filer, it does not work: "Error: command failed: Option sched-snap-name is not supported on a cluster mode volume."

Ashun
1,991 Views

In cluster mode, the command can be used to modify the field sched-snap-name.

::> volume modify -vserver svm_s -volume vol_mirror -sched-snap-name <create_time/ordinal>

 

This option specifies the naming convention for automatic Snapshot copies.

Snapshot naming enhancements in ONTAP 9.0 - NetApp Knowledge Base

 

AARONLEWIS
7,636 Views

I know this post is really old, but did you ever get an answer for this?  Thanks.

TESTLAB01
6,990 Views

vol option schedsnapname ordinal vs create_time.

 

here is the link https://kb.netapp.com/support/index?page=content&id=1011292&pmv=print&impressions=false

Public