Active IQ Unified Manager Discussions

SnapVault schedule


Can I create SnapVault schedule, that won't launches automatically?

I want update SnapVault relationship only manyally.

So using command 'snapvault update' I will manually updating SnapVault data.

After SnapVault relationship will have been completed, I want to manually create SnapVault snapshot on secondary storage using command 'snapvault snap create'.

This command need existed schedule name.

So the question is: how I can create schedule that would never launched automatically, and that I can use for manually creating SnapVault snapshot on secondary storage?



Re: SnapVault schedule


I think you can just use the "snapvault snap sched" command with either 0 for the count or a - for the time of the day, or even with -o tries=0 to prevent it from actually running the schedule, but manual updates should work as the schedule will be configured.

Re: SnapVault schedule


Yes, I also have read in documentation, that if I specify '-' for days schedule, then  no snapshot copy will be created automatically

  • @day_list is a comma-separated list that specifies the days on which a new Snapshot copy is created for this set. Valid entries are mon, tue, wed, thu, fri, sat, sun. They are not case-sensitive. You can specify a range using a dash (-), for example, mon-sun. The dash by itself means no Snapshot copy will be created automatically. You can create the Snapshot copy manually.

But, then I create such schedule by myself:

mike-netapp-81> snapvault snap sched

create vol_sv_nk_trg sv_manually 8@- preserve=default,warn=0

in ONTAP Command Manager UI I see that schedule is for every day:

Is it just UI err? Or this schedule really will be created daily?

Re: SnapVault schedule


Also, I have question about tries count.

Whe I create SnapVault schedule with tries count specifies to 0 (or any other parameter):

create vol_sv_target sv_manually2 6@- preserve=default,warn=0,tries=0

Then I try to get information about using ZExplorer by command 'snapvault-secondary-snapshot-schedule-list-info'















information about tries count is missed. There should be 'options' node.

Re: SnapVault schedule



Why don't you just setup (initialize) the relationship and then not create a schedule?  'snapvault snap create' will just create a snapshot... You can trigger that via a script or the like.   You will have to also script the removal of snapshots you no longer need as well just using 'snap delete volXXX'.

Perhaps if you tell us what you are trying to accomplish (the "why" behind your questions), we can suggest a different approach that will get the job done.


Re: SnapVault schedule


So there is no difference between SnapVault snapshots and standart snapshot?

In UI OnCommand System Manager shows snapshot copies of SnapVault relationship.

Only snapshots that I've created using 'snapvault snap create' are showed there. Standart snapshots are not showed there.

Re: SnapVault schedule



I think you are a bit confused, so trying to answer your questions is not entirely easy.  A snapshot is a snapshot, fundamentally.  The contents of the snapshot are dependent on where the data comes from.  A Snapvault snapshot is basically the contents of the remote NetApp+ONTap system's comparable snapshot (listing the snapshots will show you if they are "snapvault" snapshots) or last OSSV state. You can configure Snapvault to take a snapshot after the last transfer to keep a sort of checkpoint of the contents of the destination volume over a longer period of time.

Volume snapmirror is much the same, but you have a 1:1 relationship with the contents of the source volume.

Removing snapshots that are not locked is done with 'snap delete -V volXXX' .  Snapvault (and volume snapmirror) snapshots that are "busy" are locked until the releationship is broken. This is also true for source snapshots for clone volumes, fwiw.

Still, if you share what you actually are trying to do, you might get more specific help.


Re: SnapVault schedule


Thank you for replies!

I just want manually update SnapVault. As I've read on:

I need to use 'snapvault update' command.

And after update snapvault, I need to manually create SnapVault snapshot on secondary storage.

From reference: The snapvault update command does not create a new Snapshot copy on the secondary system. You need to use the snapvault snap create command if you want to create a new Snapshot copy on the secondary system.

Re: SnapVault schedule


Yes, this info is correct.  I'm not sure why you are mixing everything up by mentioning schedules that won't run, etc...

If you are going to script everything, then you can easily script the deletion of the oldest snapshots too (if that is what the problem is, but I can only guess really)...

Again (and for the last time), if you tell us what you are trying to accomplish, someone might be able to help you more quickly.

I have better things to do than re-read the documentation with you.


Re: SnapVault schedule


SnapVault is more or less a tool to make it easier for users to create specific snapshots and do several tasks that are manually very hard or impossible to do, but in essence, it transfers data as if you would do it by hand, then makes snapshot's as if you would also do them by hand. SnapVault is a tool, using SnapMirror as basis to make things easier for the user. You can perhaps compare it with a map and a navi system for a car. Both show you streets and paths to your destination but the navi system builds on the normal map and adds additional features to make it easier for the driver.

On top of SnapVault, OnCommand is yet another layer of management software, personally I think one that can be very cumbersome and often buggy. SnapVault snapshots and normal Snapshots while basically the same, are differentiated in OnCommand mostly for ease of use for the end user, as this often includes people who do not have the know how to use the command line or access the filer directly for different reasons, it splits these snapshots so they do not get confused. Sometimes this has also to do with access rights and permissions. in some big corporations and environments, the user that is responsible for snapvault backups, might not have access to other normal snapshots.

Also Snapvault snapshots are for the most part incremental snapshots, while the technology behind them is the same, you will not be able to do anything with a snapvault snapshot without the baseline, while "normal" snapshots are for the most part standalone snaps that can be used on their own.

SnapVault uses the same engine as qtree snapmirror to replicate snapshot data with some differences, like the per volume basis instead of a per relationship basis for schedules.

As for your initial question, I'd go with the way Riley already mentioned. Set the tries to 0, this prevents the schedule to run automatically, then you can go on with manually starting the update and depending on your personal preferences on the snapshots continue with snapvault snap.


In normal operation,  qtree updates and snapshot creation proceed automatically according to the snapshot schedule. However,  SnapVault also supports manual operation. The snapvault update command on the secondary initiates an update transfer from the primary to the secondary for an individual qtree. The snapvault snap create command begins snapshot creation just as if the scheduled time had arrived. On the secondary,  if the -x option for the snapshot schedule is set,  the secondary will contact the primaries to begin update transfers for all the qtrees in the volume,  just as it would if the scheduled time had arrived.


The whole point of a schedule in the first place, as the word itself aleady says, is to have an automated trigger mechanism that regularly does the snapvault update and snap create for you.

You mentioned the missing option nodes in ZExplorer, but I didn't get the issue for this question, would you mind to elaborate here so we get a better idea of what you feel is missing?


Whe I create SnapVault schedule with tries count specifies to 0 (or any other parameter):

create vol_sv_target sv_manually2 6@- preserve=default,warn=0,tries=0


Are you talking about a snap create? a snap schedule?

View solution in original post

Re: SnapVault schedule


Ok, Thank you all!

I understand what I needed.

Just in case if it would be helpfull for ZAPI:

Command 'snapvault-secondary-snapshot-schedule-list-info' return list of 'snapvault-secondary-snapshot-schedule-info'. This structure contains optional parameter 'options'.

That contains tries count:







For all schedulers, that I've created ZExplorer doesn't return this optional parameter.

Even for schedulers that have nondefault tries count parameter.

Earn Rewards for Your Review!
GPI Review Banner
All Community Forums