Table of Contents
This tip is about the how to backup Linux distro on WSL. So read this free guide, How to backup Linux distro on WSL step by step. If you have query related to same article you may contact us.
How to backup Linux distro on WSL – Guide
Microsoft introduced Windows Subsystem for Linux (WSL) in the Windows 11 operating system, a feature which was first shipped with Windows 10. WSL has also been moved up for version 2 (also known as WSL2) that comes with performance updates. Assuming you are using WSL feature to run a Linux virtual machine on your Windows 11 PC, so it’s smart to back up the distribution in case you want it later in case something goes wrong. Fortunately, the Windows operating system allows customers to do this. In this little by little guide we will show you the cycle to make a backup of your Linux appropriation in your preferred location in the Windows 11 system with the wsl order device for WSL2 using the command prompt.
Run Backup Linux Distribution on WSL
To back up a WSL Linux installation on Windows 11 (or Windows 10), use these steps.
wsl –export DISTRO-NAME PATHFILE-NAME.tar
wsl –export Ubuntu ubuntu-backup.tar
Run Linux distribution restore in WSL
To import a Linux distribution from the Window Subsystem backup for Linux 2, use these steps.
wsl –import DISTRO-NAME INSTALL-LOCATION PATHFILE-NAME.tar
wsl –import Ubuntu C:UsersUSERNAMEDistros C:ubuntu-backup.tar
wsl –list
Final note
I hope you like the guide How to backup Linux distro on WSL. In case if you have any query regards this article you may ask us. Also, please share your love by sharing this article with your friends.