From 59d7fab8c079c287bde3d632ebd208c48931ad5b Mon Sep 17 00:00:00 2001 From: Roger Sikorski Date: Sun, 4 Sep 2022 12:44:25 +0200 Subject: [PATCH] RestoreBackup added --- RestoreBackup.ps1 | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 RestoreBackup.ps1 diff --git a/RestoreBackup.ps1 b/RestoreBackup.ps1 new file mode 100644 index 0000000..5803e49 --- /dev/null +++ b/RestoreBackup.ps1 @@ -0,0 +1,4 @@ +[string]$image_path="C:\Users\roger\wsl-backup\2022-08-28.tar" +[string]$distro_name="test" + +wsl --import $distro_name "C:\Users\$env:UserName\AppData\Local\Packages\" $image_path --version 2