DEV Community

Discussion on: Setting up a new dev machine

Collapse
 
gochev profile image
Nayden Gochev • Edited

I do wsl2 backup ... and then just restore ;)

VOALA :+)

More info :

I am using Windows yes but all development is inside wsl2.

so I just do :

C:> wsl.exe --export Ubuntu c:\data\ubuntu.tar

copy the ubuntu.tar to the other machined and just do

C:> wsl.exe --import UbuntuOrOtherName d:\wsl\UbuntuDataFolder c:\data\ubuntu.tar

thats all :)

Collapse
 
shawncrigger profile image
Shawn Crigger

That’s awesome i was unaware you could do that but this year has been the first Microsoft company I’ve worked for in 25yrs. I’m very impressed with Microsoft compared to say XP or Vista. They are really spending some money to become dev platform of choice