Data ONTAP Discussions

Re: Can you set a time for the Nightly and Weekly snapshots to occur or ?

We are using RSH and the sever calling the scripts is in the host.equiv file.  With this working, all commands are identical to those typed in the console.

snap delete -V <vol-name> nightly.7

snap rename -V <vol-name> nightly.6 nightly.7

snap rename -V <vol-name> nightly.5 nightly.6

snap rename -V <vol-name> nightly.4 nightly.5

snap rename -V <vol-name> nightly.3 nightly.4

snap rename -V <vol-name> nightly.2 nightly.3

snap rename -V <vol-name> nightly.1 nightly.2

snap create -V <vol-name> nightly.1

You can do the something similar with the weekly.# rotation.  You can also use ssh.

Information for RSH can be found in setting up a silimar script, but more complicated, in the VMware notes for NetApp.  If you can't find them, let me know and I'll look around.

Re: Can you set a time for the Nightly and Weekly snapshots to occur or ?

There is also a way to schedule snapshots at a certain minute on the hour using priv set advanced commands with snap sched.

But as for the nightly and weekly, they're at the same times always.

Re: Can you set a time for the Nightly and Weekly snapshots to occur or ?

...or you can use hourly snapshots instead of daily and weekly to match your needs.

 

Re: Can you set a time for the Nightly and Weekly snapshots to occur or ?

You can do this with powershell to the filer, or like others have mentioned, protection manager ,local backups only seems like a good fit for you

Forums