Quantcast
Channel: All Data Protection posts
Viewing all articles
Browse latest Browse all 3485

Snapdrive powershell script for scheduled snapshots

$
0
0

Hi

We are slowly migrating infrastructure from 7M to Cdot.

 

Some of the systems being migrated are windows file-servers with iscsi luns attached.

These servers have rudimentary scheduled sdcli tasks to create, rename and delete snapshots.

 

When the task runs, it deletes the oldest snap, renames the others one by one (incrementing the age, daily1,daily2 etc) and then creates a new snapshot (recent) + kicks off a mirror

 

I have been looking for a powershell replacement for this, hopefully to allow a bit more flexibility (timestamps, delete snapshots over X days old etc), but mainly to allow tagging with labels for snapvault use.

 

In my limited experience with powershell - it looks like this can not be done with the snapdrive cmdlets alone because the creation date is not exposed through the get-sdsnapshot output?

 

Can the above be done without relying on the Ontap powershell toolkit to provide some of the functionality that ive seen in another thread?

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 3485

Trending Articles