Skip to content

Commit 0f91d17

Browse files
committed
Add backup & restore instructions
1 parent 9593aad commit 0f91d17

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ Usage :
7171
backup [contents]
7272
- `--tar`: Output backup.tar to the current directory.
7373
- `--reg`: Output settings registry file to the current directory.
74+
- `--tgz`: Output backup.tar.tar to the current directory.
75+
- `--vhdx`: Output backup.ext4.vhdx to the current directory.
76+
- `--vhdxgz`: Output backup.ext4.vhdx.gz to the current directory.
7477
7578
clean
7679
- Uninstall that instance.
@@ -130,6 +133,38 @@ Execute the command below in a windows cmd terminal from the directory where Min
130133
131134
```
132135

136+
## How to backup instance
137+
export to backup.tar.gz
138+
```cmd
139+
>Mint.exe backup --tgz
140+
```
141+
export to backup.ext4.vhdx.gz
142+
```cmd
143+
>Mint.exe backup --vhdxgz
144+
```
145+
146+
## How to restore instance
147+
148+
There are 2 ways to do it.
149+
150+
Rename the backup to rootfs.tar.gz and run Mint.exe
151+
152+
(or)
153+
154+
.tar(.gz)
155+
```cmd
156+
>Mint.exe install backup.tar.gz
157+
```
158+
.ext4.vhdx(.gz)
159+
```cmd
160+
>Mint.exe install backup.ext4.vhdx.gz
161+
```
162+
163+
You may need to run the command below in some circumstances.
164+
```cmd
165+
>Mint.exe --default-uid 1000
166+
```
167+
133168
## How to build
134169

135170
#### Prerequisites

0 commit comments

Comments
 (0)