Skip to content

Commit

Permalink
README.md: Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
yuk7 committed Aug 28, 2021
1 parent 1cd68a4 commit b76f39f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Usage :
- `--default-uid <uid>`: Set the default user uid of this instance to <uid>.
- `--append-path <true|false>`: Switch of Append Windows PATH to $PATH
- `--mount-drive <true|false>`: Switch of Mount drives
- `--wsl-version <1|2>`: Set the WSL version of this instance to <1 or 2>
- `--default-term <default|wt|flute>`: Set default type of terminal window.
get [setting]
Expand All @@ -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
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit b76f39f

Please sign in to comment.