Sunday, May 28, 2023
HomeTop StoriesHow-toLearn to backup Linux distro in Windows Subsystem for Linux on Windows...

Learn to backup Linux distro in Windows Subsystem for Linux on Windows 11

In this step-by-step guide, we will show you the process to take a backup of your Linux distribution to the location of your choice in the Windows 11 system with wsl command tool for WSL2 using the Command Prompt.

Step 1: Open the Start menu on your Windows 11 computer.

Step 2: Search for “Command Prompt” and from the search results, right-click on the app and select the “Run as administrator” option.

Step 3: In the command prompt window, enter the following command which will show the list of available Linux distros on the device.

wsl --list

Step 4: After that, enter the following command to create a backup of the WSL distro:


Make sure to change the “DISTRO-NAME” to the actual name of the Linux distro on your system and change the “PATH\FILE-NAME.tar” to the location where you want to store the backup file. If you don’t specify a location and just specify the file name, then the backup file will be stored in the system drive.

That’s it. After following the above-mentioned steps, you will have successfully exported the Windows Subsystem for Linux (WSL) Linux distro virtual machine in the location specified or in the main system drive.

The backed-up Linux distro can now be imported to a new setup of Windows 10 or Windows 11 system, or to some another computer, and can also be shared with other people.

Do note that when using the wsl.exe tool in the Command Prompt with the –export option to backup the Linux distro, the Linux distribution will lose its integration with the Start menu, and it’ll no longer appear as an item in the “Apps & features” settings.



Please enter your comment!
Please enter your name here

sponsored articles

Latest Updates

You cannot copy content of this page