|
@@ -34,9 +34,11 @@ Device Boot Start End Sectors Size Id Type
|
34
|
**sda2 offset:( 512 x 206848 = 105906176 )**<br>
|
34
|
**sda2 offset:( 512 x 206848 = 105906176 )**<br>
|
35
|
|
35
|
|
36
|
результат вносим в раздел скрипта **manual_parameters**<br>
|
36
|
результат вносим в раздел скрипта **manual_parameters**<br>
|
|
|
37
|
+теперь скрипт сможет сам как сохранять так и восстанавливать данные с образа виртуальной машины.<br>
|
|
|
38
|
+
|
37
|
Пожалуйста обратите внимание, параметры скрипта это массивы, вносите изменения так же как в исходном коде,<br>
|
39
|
Пожалуйста обратите внимание, параметры скрипта это массивы, вносите изменения так же как в исходном коде,<br>
|
38
|
скрипт всегда опрашивает значения как массив, независисмо одно значение или более.<br>
|
40
|
скрипт всегда опрашивает значения как массив, независисмо одно значение или более.<br>
|
39
|
-теперь скрипт сможет сам как сохранять так и восстанавливать данные с образа виртуальной машины.<br>
|
|
|
|
|
41
|
+
|
40
|
**Внимание!!**<br>
|
42
|
**Внимание!!**<br>
|
41
|
**До начала использования скрипта рекомендую предварительно сделать копию файла образа (пример : /kvm/win7x64/disk_c.img)**<br>
|
43
|
**До начала использования скрипта рекомендую предварительно сделать копию файла образа (пример : /kvm/win7x64/disk_c.img)**<br>
|
42
|
и только если все прошло успешно, копию можно удалить.<br>
|
44
|
и только если все прошло успешно, копию можно удалить.<br>
|
|
@@ -80,9 +82,11 @@ the offset for each section is obtained by computing:<br>
|
80
|
**sda2 offset :( 512 x 206848 = 105906176)**<br>
|
82
|
**sda2 offset :( 512 x 206848 = 105906176)**<br>
|
81
|
|
83
|
|
82
|
the result is added to the section of the script **manual_parameters**<br>
|
84
|
the result is added to the section of the script **manual_parameters**<br>
|
|
|
85
|
+Now the script itself can both save and restore data from the virtual machine image.<br>
|
|
|
86
|
+
|
83
|
Please note, the script settings are arrays, make the changes as well as in the source code, <br>
|
87
|
Please note, the script settings are arrays, make the changes as well as in the source code, <br>
|
84
|
The script always interrogates values as an array, independently one value or more.<br>
|
88
|
The script always interrogates values as an array, independently one value or more.<br>
|
85
|
-Now the script itself can both save and restore data from the virtual machine image.<br>
|
|
|
|
|
89
|
+
|
86
|
**Attention!!**<br>
|
90
|
**Attention!!**<br>
|
87
|
**Before using the script, I recommend that you first make a copy of the image file (example: /kvm/win7x64/disk_c.img)**<br>
|
91
|
**Before using the script, I recommend that you first make a copy of the image file (example: /kvm/win7x64/disk_c.img)**<br>
|
88
|
and only if everything went well, a copy can be deleted.<br>
|
92
|
and only if everything went well, a copy can be deleted.<br>
|