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

snapvault snap sched syntax

JOEDELAPAZ
3,318 Views

Hi All,

Just a quick question regarding a syntax issue that's got me scratching my head.

I found a snapvault snap sched line in my config that says:

create thh_sas_vm_vol_01_vault sv_daily 40@- preserve=default,warn=0

my question is, what does @- mean?

I found an obscure article that mentions @- means immediately. However, I am still confused.

Can anyone shed some light on this please?

Thanks.

1 REPLY 1

ismopuuronen
3,318 Views

Hi,

Not 100% sure, but normally example 40@22 would mean, 40 snapshots are kept, and snapshots are created every day 22.00.
If you have 40@- You don't specify the exact time, when the snapshot creation should happen, but you do specify the retention time for snapshots and the snapshot name.
This scenario could be example for databases. You need to have consistent snapshot, and netapp filer doesen't know when the db is consistent.
There should be some kind script created in db server which triggers the snapshot creation when the db is consistent..

Br.
Ismo

Public