Snapshot multiple volumes in the same capacity pool
Closed this issue · 8 comments
Hi Kirk:
First of all thank you for the logic app! It worked beautifully on the first try to snapshot a single volume.
I have several volumes within the same capacity pool for which I would like to automate snapshots. Do I need to create a separate instance of the logic app for each volume? If I don't specify a volume in the configuration will it snapshot all volumes in the capacity pool?
Also is there any "wrong" value for the firstSnapshot variable? From reading a closed issue it didn't seem so but I wanted to verify.
Thanks,
Fred
Hi Kirk,
The logic app works fine for hourly snapshots as mentioned by Fred above, However I have a critical situation whereby we have live data with no means of backup without using another storage account but need to be able to use the logic app to run different snapshots like daily/weekly/monthly on the same volume and also as per Freds comments above, different snapshots on volumes within the same capacity pool.
Hi and thank you for your feedback. Just to confirm the asks:
- Add the capability to specify multiple volumes in a single logic app
- Add the capability to specify different hourly, daily, weekly and monthly retentions
As currently the scheduler works on a single volume only (you need multiple schedulers) and you want to have different rolling schemes.
Is that correct?
Ok perfect! Thsbsk for taking the time to clarify, I think I understand, but just to clarify:
- Allow each snapshot scheduler to manage it's own snapshots and retention
The reason this doesn't operate like this today is because the housekeeping logic I implemented simply compares the retention number (for example 7), as removes ALL snapshots over that threshold on that corresponding volume.
What I would need to do is create:
- A method of naming or tagging snapshots within the boundaries of it's scheduler
- Amend the housekeeping logic to ONLY act upon those snapshot/tag
Hi and thank you for your feedback. Just to confirm the asks:
- Add the capability to specify multiple volumes in a single logic app
- Add the capability to specify different hourly, daily, weekly and monthly retentions
As currently the scheduler works on a single volume only (you need multiple schedulers) and you want to have different rolling schemes.
Is that correct?
Confirmed. Thank you!
You'll be pleased to know that the ANF scheduler has now been updated to v2.
Each logic app is capable of handling multiple volumes AND you can control its scope via a new prefix tab (i.e. daily, weekly, monthly, app name, etc).
The README will be updated tomorrow with deployment and configuration instructions.
Here is one of my volumes with daily scope - max 7 retention - you'll notice it doesn't delete any other snapshots outside of its own scope.
Therefore you would have a logic app per scope - one for hourly, one for daily, one for weekly and so on.