equal
deleted
inserted
replaced
1 Guide to the impatient user |
|
2 =========================== |
|
3 |
|
4 Install the package |
|
5 ------------------- |
|
6 |
|
7 # perl Build.PL |
|
8 |
|
9 (optional step) |
|
10 # ./Build prereq_report |
|
11 |
|
12 ./Build install |
|
13 |
|
14 Create your first image |
|
15 ----------------------- |
|
16 |
|
17 NOTE: The device you're imaging must not be busy during |
|
18 image creation. Other your image will be unusable! |
|
19 |
|
20 The preferred way to get an idle device is using LVM snapshots: |
|
21 |
|
22 # lvcreate -s -L 1G -n lvol00-snap vg00/lvol00 |
|
23 |
|
24 (optional - check the filesystem) |
|
25 # fsck -y /dev/mapper/vg00/lvol00-snap |
|
26 |
|
27 # imager save /dev/mapper/vg00/lvol00-snap /path/to/backup |
|
28 |
|
29 Restore your image |
|
30 ------------------ |
|
31 |
|
32 For a full restore: |
|
33 |
|
34 # imager restore /path/to/backup/idx/HOST/DEVICE/IMAGE-name > image |
|
35 |
|
36 If you need just parts of your image: |
|
37 |
|
38 # imager fuse /path/to/backup/ /mnt |
|
39 |
|
40 Now you may browse the images below /mnt/. To select just some files - |
|
41 loop mount such an image and restore the files you need: |
|
42 |
|
43 # mount -o loop /mnt/…/image /media/xxx |
|
44 |
|
45 Happy landings…. |
|
46 -- |
|
47 Heiko Schlittermann <hs@schlittermann.de> |
|