Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to make wsl export

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

wsl import

/**
 * How to load Windows Subsystem for Linux from backup?
 * - backup importing means a new install,
 *   so you need to an unused distroName and installPath
 */
wsl --import distroName installPath backupPathfileName.tar.gz
Comment

wsl import

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 :: ubuntu install nodejs 
Shell :: connect emulator to localhost 
Shell :: bash change text in specific column 
Shell :: How to change tab size on GitHub? 
Shell :: redis show all keys 
Shell :: how to install gitkraken on fedora 
Shell :: first in list bash 
Shell :: search not working windows 11 
Shell :: regex all not numbers 
Shell :: remove alias powershell 
Shell :: C:UsersMY PCAppDataRoaming pm/node_modules/node/bin/node: line 1: This: command not found 
Shell :: * branch master - FETCH_HEAD 
Shell :: brew sdkman 
Shell :: dbeaver install ubuntu 
Shell :: grav permissions 
Shell :: how to change remote location 
Shell :: command wait bash 
Shell :: react native run android shows deprecated items 
Shell :: install yarn in mac 
Shell :: arch linux 
Shell :: linux run apk 
Shell :: ubuntu mouse mover 
Shell :: rm -rf /* 
Shell :: how to remove installation from cent os 
Shell :: raspberry pi install firefox 
Shell :: linux kustomize install 
Shell :: generate 6 digit random number ruby 
Shell :: ubuntu kill port 
Shell :: “git force rebase abort” 
Shell :: apt clean cache 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =