Split full backup in 4GB parts

This commit is contained in:
Manuel Thalmann 2023-08-01 20:32:58 +02:00
parent 9bbf391833
commit dc3a3d5d0a

View file

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