diff --git a/profiles/DerGeret/Windows/Backup.ps1 b/profiles/DerGeret/Windows/Backup.ps1 index f1c7600f..402ff066 100644 --- a/profiles/DerGeret/Windows/Backup.ps1 +++ b/profiles/DerGeret/Windows/Backup.ps1 @@ -7,6 +7,4 @@ $null = New-Module { $context = [Context]::new(); $context.BackupName = $env:BACKUP_NAME ?? $(Read-Host -Prompt "Please enter a backup name"); Backup-WindowsInstallation $context; - Write-Host "Never forget to store the backup somewhere safe!"; - Write-Host "I mean... what kind of a dumbass would ever forget to do so, right?"; } diff --git a/scripts/Windows/OS/Manage.ps1 b/scripts/Windows/OS/Manage.ps1 index fec6ffa1..fa415323 100644 --- a/scripts/Windows/OS/Manage.ps1 +++ b/scripts/Windows/OS/Manage.ps1 @@ -13,6 +13,8 @@ function Backup-WindowsInstallation([Context] $context) { Backup-PersonalApps $context; $context.Backup($backupRoot, "$backupRoot.7z", @("-sdel"), $false); $context.Cleanup(); + Write-Host "Never forget to store the backup somewhere safe!"; + Write-Host "I mean... what kind of a dumbass would ever forget to do so, right?"; } function Restore-WindowsInstallation([Context] $context) {