Create an endless history of "user space" snapshots (images) of your devices our huge files.
|
|
||
|---|---|---|
| bin | ||
| examples | ||
| lib | ||
| scratch | ||
| t | ||
| .editorconfig | ||
| .gitignore | ||
| .perltidyrc | ||
| LICENSE | ||
| Makefile.PL | ||
| MANIFEST | ||
| MANIFEST.SKIP | ||
| README | ||
Guide to the impatient user
===========================
Install the package
-------------------
# perl Build.PL
(optional step)
# ./Build prereq_report
./Build install
Create your first image
-----------------------
NOTE: The device you're imaging must not be busy during
image creation. Other your image will be unusable!
The preferred way to get an idle device is using LVM snapshots:
# lvcreate -s -L 1G -n lvol00-snap vg00/lvol00
(optional - check the filesystem)
# fsck -y /dev/mapper/vg00/lvol00-snap
# imager save /dev/mapper/vg00/lvol00-snap /path/to/backup
Restore your image
------------------
For a full restore:
# imager restore /path/to/backup/idx/HOST/DEVICE/IMAGE-name > image
If you need just parts of your image:
# imager fuse /path/to/backup/ /mnt
Now you may browse the images below /mnt/. To select just some files -
loop mount such an image and restore the files you need:
# mount -o loop /mnt/…/image /media/xxx
Happy landings….
--
Heiko Schlittermann <hs@schlittermann.de>