Skip to content

Latest commit

 

History

History
74 lines (32 loc) · 2.21 KB

README.md

File metadata and controls

74 lines (32 loc) · 2.21 KB

Snapshot-Scheduler

Schedule Snapshots at Frequency below Hourly


Description

Snapshot-Scheduler

Utilizing an Azure Logic App, schedule ANF Snapshots at a frequency below hourly. The Snapshot frequency is set within the Logic App (default is 5 minutes), suggested to not be lower than 3 minutes. Specify the number of Snapshots you want to maintain. Lastly set the ANF Capacity Pool(s) that contains the volumes you want to Assign the Snapshot Schedule to.

Once set the Logic App will takeover the scheduling and rotation of the Snapshots at the frequency specified


Change Log

11/09/2023 - Initial Release


Prerequisites - One Time Setup

Create the Logic App in the Azure Portal

Select your Subscription, Resource Group, and Azure Reqion

Select the Consumption Plan

Select Create

LogicApp Creation

Open the Logic App and set the System Assigned Idenity for the Security

System Assigned Identity

Assign an Azure RBAC utilizing the system assigned managed Identity to the ANF Resource at either the ANF Account or Capacity Pool Resource Level

Azure RBAC for Logic App

Replace the code from the Logic app code view, section with the code in github ( [SnapshotSchedulerCode] https://github.com/ANFTechTeam/Snapshot-Scheduler/blob/main/SnapshotCode.git )

Replace Code fromGithub

Lastly Open the Designer view in the Logic App and set the Retention Period, Capacity Pool

Set Retention and Capacity Pool

Run a manual Test to ensure all is working correctly