PowerShell script exchange
Post Reply
t481
Enthusiast
Posts: 67
Liked: 1 time
Joined: Apr 28, 2015 7:52 am
Contact:

PS script to calculate the amount of data to be archived to object-store

Post by t481 »

Hello,
I'm looking for some assistance with creating a script to calculate the amount of data that will be moved to object-store based on the number of days specified under the Capacity Tier. I need this to determine the amount of time it would take to archive data.

i'm familiar with PowerShell but by no means advanced. Happy to learn though.

Thank you in advance

veremin
Product Manager
Posts: 17834
Liked: 1662 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: PS script to calculate the amount of data to be archived to object-store

Post by veremin »

The Capacity Tier works in ReFS-like fashion, meaning that already transferred block of backup chain are not transferred again (check indexes section).

So, it's impossible to determine how much data will be offloaded to object storage, before the offload session starts.

Thanks!

oleg.feoktistov
Veeam Software
Posts: 510
Liked: 176 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: PS script to calculate the amount of data to be archived to object-store

Post by oleg.feoktistov »

Even putting aside actual offload workflow, it would take extracting blocks from backups on performance tier first, getting blocks, which are already on capacity tier, comparing them and getting final size of all unique blocks found during comparison.
I don't think this scenario would work seamlessly with Powershell. From my experience, it's rather a job for C#. Thanks!

chris.arceneaux
Veeam Software
Posts: 276
Liked: 142 times
Joined: Jun 24, 2019 1:39 pm
Full Name: Chris Arceneaux
Location: Kentucky, USA
Contact:

Re: PS script to calculate the amount of data to be archived to object-store

Post by chris.arceneaux » 2 people like this post

@mzollmann and I are currently working on a script to estimate Capacity Tier offload size for a net new Capacity Tier configuration. To Vladimir and Oleg's point, it won't include block clone (deduplication) savings but it should give you a ballpark number to work with if you're not currently using Capacity Tier and are thinking about enabling it.

Once the script is ready, I'll follow-up and post a link to it in this thread. It should be complete within the next week or two.

t481
Enthusiast
Posts: 67
Liked: 1 time
Joined: Apr 28, 2015 7:52 am
Contact:

Re: PS script to calculate the amount of data to be archived to object-store

Post by t481 »

Thank you all very much.
@chris.arceneaux I look forward to using your script.

soncscy
Expert
Posts: 204
Liked: 81 times
Joined: Aug 04, 2019 2:57 pm
Full Name: Harvey Carel
Contact:

Re: PS script to calculate the amount of data to be archived to object-store

Post by soncscy »

Any way I could get in on this? :) My shop isn't a service provider or anything like that, but I'm PS curious.))

chris.arceneaux
Veeam Software
Posts: 276
Liked: 142 times
Joined: Jun 24, 2019 1:39 pm
Full Name: Chris Arceneaux
Location: Kentucky, USA
Contact:

Re: PS script to calculate the amount of data to be archived to object-store

Post by chris.arceneaux »

Sure! When posted, the script will be accessible via GitHub and available to all.

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 5 guests