How can you do a backup of your WSL distro?

Experience Level: Junior
Tags: WSL

Answer

Run the following command from command-line:
wsl --export YourDistroName %userprofile%\distro.zip

Note that your distro will be stopped when exporting.

Comments

No Comments Yet.
Be the first to tell us what you think.
Windows Subsystem for Linux (WSL)
Windows Subsystem for Linux (WSL)

Are you learning WSL ? Try our test we designed to help you progress faster.

Test yourself