Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Commit 424575c

Browse files
authored
Fixed transferred data and total data stats.
Embarrassingly basic error.
1 parent 9aa423a commit 424575c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SlackVeeamAlertSender.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ while ($session.IsCompleted -eq $false) {
3333
$Status = $session.Result
3434
$JobName = $session.Name.ToString().Trim()
3535
$JobType = $session.JobTypeString.Trim()
36-
[Float]$JobSize = $session.BackupStats.BackupSize
37-
[Float]$TransfSize = $session.BackupStats.DataSize
36+
[Float]$JobSize = $session.BackupStats.DataSize
37+
[Float]$TransfSize = $session.BackupStats.BackupSize
3838

3939
# Report job/data size in B, KB, MB, GB, or TB depending on completed size.
4040
## Job size

0 commit comments

Comments
 (0)