Skip to content

ANFTechTeam/Snapshot-Scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Schedule Snapshot at Frequency below Hourly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published