wsl-backup/RestoreBackup.ps1

5 lines
223 B
PowerShell
Raw Normal View History

[string]$distro_name="Ubuntu-22.04"
[string]$image_path="C:\Users\roger\SynologyDrive\Archiv\Backups\WSL\$distro_name.tar"
2022-09-04 12:44:25 +02:00
wsl --import $distro_name "C:\Users\$env:UserName\AppData\Local\Packages\" $image_path --version 2