default retention polciy to group-by host

Fixes the issues from previous backup's having changing directory names, which cause snapshot retention inflation.
This commit is contained in:
Kevin Woley
2021-02-24 19:59:40 -08:00
parent 387390759d
commit a840f5ae04

View File

@@ -12,7 +12,7 @@ $GlobalRetryAttempts = 4
# maintenance configuration
$SnapshotMaintenanceEnabled = $true
$SnapshotRetentionPolicy = @("--keep-daily", "30", "--keep-weekly", "52", "--keep-monthly", "24", "--keep-yearly", "10")
$SnapshotRetentionPolicy = @("--group-by", "host", "--keep-daily", "30", "--keep-weekly", "52", "--keep-monthly", "24", "--keep-yearly", "10")
$SnapshotMaintenanceInterval = 7
$SnapshotMaintenanceDays = 30
$SnapshotDeepMaintenanceDays = 90;