PowerShell script exchange
Post Reply
alec-at-work
Novice
Posts: 9
Liked: 4 times
Joined: Nov 01, 2022 11:30 am
Full Name: Alec Prior
Contact:

Find actual block size on disk

Post by alec-at-work »

Hello,

I'm looking for a way to find out what the actual stored block size for a backup chain is. When the block size is changed, it requires an active full to make it effective. Therefore, if I'm looking at a Veeam job that says it is using 4MB block sizes, there's no way to be certain that this has been 'activated' by an active full or whether it is still pending.

Is there a way of checking that the files on disk match the block size setting on the job?
Mildur
Product Manager
Posts: 9816
Liked: 2595 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Find actual block size on disk

Post by Mildur »

Hi Alec

You can get the block size for each storage (backup file) with the following command:

Code: Select all

$backup = Get-VBRBackup
$storages = $backup.GetAllChildrenStorages()
$storages | select FilePath,BlockSize | ft -AutoSize
Use another script to get the configured block sizes from the job and compare the job list against the backup files.

Best,
Fabian
Product Management Analyst @ Veeam Software
alec-at-work
Novice
Posts: 9
Liked: 4 times
Joined: Nov 01, 2022 11:30 am
Full Name: Alec Prior
Contact:

Re: Find actual block size on disk

Post by alec-at-work »

Ah, that's perfect. Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests