Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

wsl export

/**
 * How to make backup for Windows Subsystem for Linux?
 */
wsl --export distroName pathfileName.tar.gz
Comment

wsl export

You first must export the WSL distribution you wish to clone.

1. wsl.exe --export OriginalDistributionName FileName.tar

You must now import the distribution you just cloned with the following command:

2. wsl.exe --import ClonedDistributionName InstallLocation FileName.tar

You can start the cloned distribution by running the following command:

3. wsl --distribution ClonedDistributionName
Comment

PREVIOUS NEXT
Code Example
Shell :: import docker image 
Shell :: ubuntu navigate to directory in windows 
Shell :: trash linux command 
Shell :: Bash dir in loop 
Shell :: linux curl get request 
Shell :: move files from local to remote ssh 
Shell :: Git - show all files that have changes to commit 
Shell :: flutterfire command not found 
Shell :: add project to github 
Shell :: docker run 
Shell :: pyinstaller dmg on mac 
Shell :: conda install spyder 4.2.5 
Shell :: install visual studio code ubuntu using command line 
Shell :: command to open snap gui 
Shell :: install bravado_core 
Shell :: to remove hidden repository 
Shell :: mv command linux 
Shell :: debian build with ccache 
Shell :: ubuntu add entry to /etc/apt/sources.list 
Shell :: bash read full file 
Shell :: ubuntu open file system from terminal 
Shell :: powershell get-childitem exclude node_modules 
Shell :: linux ssh access by ip 
Shell :: The application “SpringToolSuite4” can’t be opened. 
Shell :: crontab reverse shell 
Shell :: how to check endianness in linux 
Shell :: bash print fields that begin with string 
Shell :: advanced installer product key 
Shell :: git credential.helper does not store username password 
Shell :: how to create a repository 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =