Active IQ Unified Manager Discussions

Remove Snapshots - 7Mode

sheelnidhig

Hello Guys,

I am trying to get the list of snapshots from the selected volume and delete the selected snapshot.

I am trying to query the snapshots from the volume, but for some reasons its not working:

SELECT

    snapshot.name as 'snapshot.name'

FROM

    storage.volume as volume,

    storage.array as array,

    storage.aggregate,

    storage.snapshot

WHERE

    snapshot.volume_id = volume.id

    and volume.name = '${volume}'

    and aggregate.array_id = array.id

    and aggregate.id = volume.aggregate_id

    and aggregate.name = '${aggr}'

    AND (

        array.ip = '${storage}'

        OR array.name = '${storage}'

    )

I am also attaching the a part of the workflow which shall list the storage/volume/aggr and snapshots that needs to be deleted.

Need your help to get the list of the snapshots from the query and then i can proceed further.

,Sheel

1 REPLY 1

sheelnidhig

I figured out by myself.

I need to enable snapshot Caching in the WFA it self.

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public