Delete files after backup

This commit is contained in:
Manuel Thalmann 2023-08-01 13:13:38 +02:00
parent 51db28634c
commit 905733fff3

View file

@ -10,7 +10,7 @@ function Backup-WindowsInstallation([Context] $context) {
$backupRoot = $context.BackupRoot();
Backup-PersonalFiles $context;
Backup-PersonalApps $context;
$context.Backup($backupRoot, "$backupRoot.7z", @(), $false);
$context.Backup($backupRoot, "$backupRoot.7z", @("-sdel"), $false);
$context.Cleanup();
}