From a840f5ae04e9ffa350271badd4bc71111adb0704 Mon Sep 17 00:00:00 2001 From: Kevin Woley Date: Wed, 24 Feb 2021 19:59:40 -0800 Subject: [PATCH] default retention polciy to group-by host Fixes the issues from previous backup's having changing directory names, which cause snapshot retention inflation. --- config.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.ps1 b/config.ps1 index 72d3e35..05193a4 100644 --- a/config.ps1 +++ b/config.ps1 @@ -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;