From b76f39ffc60b3d8e409358354038b928c4e0627f Mon Sep 17 00:00:00 2001 From: yuk7 Date: Sat, 28 Aug 2021 22:08:34 +0900 Subject: [PATCH] README.md: Update README --- README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/README.md b/README.md index bca4a41..5f9ac6a 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,7 @@ Usage : - `--default-uid `: Set the default user uid of this instance to . - `--append-path `: Switch of Append Windows PATH to $PATH - `--mount-drive `: Switch of Mount drives + - `--wsl-version <1|2>`: Set the WSL version of this instance to <1 or 2> - `--default-term `: Set default type of terminal window. get [setting] @@ -81,6 +82,9 @@ Usage : backup [contents] - `--tar`: Output backup.tar to the current directory. + - `--tgz`: Output backup.tar.tar to the current directory. + - `--vhdx`: Output backup.ext4.vhdx to the current directory. (WSL2 only) + - `--vhdxgz`: Output backup.ext4.vhdx.gz to the current directory. (WSL2 only) - `--reg`: Output settings registry file to the current directory. clean @@ -128,6 +132,29 @@ Usage : ``` +#### How-to-backup +export to backup.tar.gz (WSL1 or 2) +```cmd +>{InstanceName}.exe backup --tgz +``` +export to backup.ext4.vhdx.gz (WSL2 only) +```cmd +>{InstanceName}.exe backup --vhdxgz +``` + +#### How-to-import +.tar(.gz) (WSL1 or 2) +```cmd +>{InstanceName}.exe install backup.tar.gz +``` +.ext4.vhdx(.gz) (WSL2 only) +```cmd +>{InstanceName}.exe install backup.ext4.vhdx.gz +``` + + + + ## 🛠How-to-Build Please see [DEVELOPERS.md](DEVELOPERS.md)