Skip to content

Commit 429ad1a

Browse files
authored
Merge pull request #639 from carehart/patch-2
refine FAQ about backup to cover move of distros also
2 parents be9dfbb + 4c6f7c5 commit 429ad1a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

WSL/faq.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,9 @@ In some cases turning off the firewall allows for access. In some cases simply h
197197
## How do I access a port from WSL in Windows?
198198
WSL shares the IP address of Windows, as it is running on Windows. As such you can access any ports on localhost e.g. if you had web content on port 1234 you could https://localhost:1234 into your Windows browser.
199199

200-
## How can I back up my WSL distros?
200+
## How can I back up my WSL distros, or move them from one drive to another?
201201

202-
The best way to backup your distros is available in Windows Version 1809 and later. You can export your entire distribution to a tarball using the `wsl --export` command. You can then import this distro back into WSL using the `wsl --import` command, allowing you to backup and save states of your WSL distributions.
202+
The best way to backup or move your distros is via the export/import commands available in Windows Version 1809 and later. You can export your entire distribution to a tarball using the `wsl --export` command. You can then import this distro back into WSL using the `wsl --import` command, which can name a new drive location for the import, allowing you to backup and save states of (or move) your WSL distributions.
203203

204204
Please note that traditional backup services that backup files in your Appdata folders (like Windows Backup) will not corrupt your Linux files.
205205

0 commit comments

Comments
 (0)