Partimage 0.6.8 is included on the
SystemRescueCD
which includes remote file system support for Samba(CIFS, MS windows) and
and defaults to requiring a login and SSL. Use --noSSL and --noLogin
if desired.
--noLogin
) skip to "Start the daemon"
If using --login
, or partimage was compiled requiring user authorizations:
for /etc/passwd Partimage authorization file | Not needed with system Rescue CD since partimage is set to nologin
|
touch /partImages/Seville/0_partionImage_images
Switch to an alternate console [Alt][F2]
partimged -d /partImages/Seville [--nologin]
Switch back to original console [Alt][F1]
partimaged
options:
-d /dd/ddd |
sfdisk --list |more
Disk /dev/sda: 4865 cylinders, 255 heads, 63 sectors/track Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/sda1 * 0+ 536- 537- 4305640+ c W95 FAT32 (LBA) /dev/sda2 536+ 2382- 1847- 14832216 f W95 Ext'd (LBA) /dev/sda3 2432 4865- 2434- 19543104 7 HPFS/NTFS /dev/sda4 0 - 0 0 0 Empty /dev/sda5 536+ 791- 256- 2048728+ 7 HPFS/NTFS /dev/sda6 791+ 1047- 256- 2056288+ 7 HPFS/NTFS /dev/sda7 1047+ 1111- 64- 514048+ c W95 FAT32 (LBA)
sfdisk --dump > ladBerlin.partTable.`date +%y%m%d_%H%M`.dmp
sfdisk --list > ladBerlin.partTable.`date +%y%m%d_%H%M`.txt 2> /dev/null
cp ladBerlin.partTable.081231.* /mnt/partimgStore
or
- ncftp -u partimage -p secret fdLondon
cd images
dir
mput ladBerlin.partTable.*.txt
mput ladBerlin.partTable.*.dmp
dir
quit
The gui is nice but rather unforgiving as errors in last entry
will abort and necessatate starting over.
Maybe you might want to use the command line after all as you can use command line editor to correct command errors. (ed)
partimage [--noLogin --noSSL]
[tab]
to advance fileds.
/mnt/partimgVault
for
Image file to create/use
and [ ] Connect to server
localhost
for
IP/name of the server
-- or --
partimage --compress=2
--batch
--nodesc \
--noLogin
--noSSL
--server=dgNYCvault \
save \
/dev/sda3 \
ladBerlin.testDB.081231.bgz
partimage save \
/dev/hda3 /mnt/partimgStore/franckParis_home_081231.pimg.gz
/dev/sda1 /mnt/partVault/fdLondon_root_081231.pimg.gz
-------------------| save partition to image file |--------------- Partition to save: ........../dev/sda1 Size of the Partition .......9.77 GiB = 10487199744 bytes Current iamge file: ......../mnt/partimgStore/foxSDA1.000 Image file size: ...........1.78 GiB¿ Available space for image ...4.43 GiB = 4756237312 bytes¿ Detected file ststem: .......ntfs Compression level: ..........bzip2 Time elapsed: ................1m: 3Sec¿ Estimaged time remaining: ...21m:30sec¿ Speed: ......................151.98 MiB/min¿ Data copied: ................284.24 MiB / 3.40 GiB¿ |
¿ These fields change as the backup progresses
Performance sample:
2 GHz processor; backing up 10GB, MS windows, System only volume, which was 50% used
to a NTFS file server.
compression | MiB rate/min | net usage | CPU usage | elapsed time (minutes) | file size (GB) |
---|---|---|---|---|---|
bzip2 | 150 | 99% | 1.847 | ||
gzip | 500 | 90% | 7 | 1.871 | |
none | 900 | 10% | 15% | 5 | 3.563 in 2 files (2.36 post compress via Windows) |
partimage [imginfo|restmbr]image_file
imginfo |
partimage [options]
[save|restore] device_partition image_file
partimage save --nossl --noLogin --server 192.168.1.8 /dev/sda2 /mnt/images/imageOfsad2.gz
device_partition |
-sa.a.a.a |
Additional Examples:
partimage -m save \partimage -z2 -o
-d save \
partimage -a/dev/hda6#/mnt/partimg#vfat -V1440 save \
/dev/hda12 \
/mnt/backup/ladBerlin.testDB.081231.bgz
/dev/hda9 /mnt/backup/franckZurich.SYS.WIN95-OSR2.081130.partimg.gz
partimage imginfo /mnt/backup/francoisRome.home.081231.bz2
partimage restmbr /mnt/backup/francoisRome.home.081231.bz2
sfdisk < /mnt/backup/francoisRome.home.081231.dmp
partimage restore \
/dev/hda13 /dev/hda12 /mnt/backup/francoisRome.home.081231.bz2
Return Code 134
no space left(no error message!)Unknown error -47
no space leftCannot Create temp file No Space left on device
return code 1return code 1
user canceledThis occurs when the partimaged is expecting an SSL connection and partimage is not.
start partimage with the -n
Unstable version 7.x.x supports lz compression for -z3
and encryption.
Saving a partition on x86 architecture cannot be restored on a powerpc nor on a x64
"...This seems to be an endianness/types issue which leads to the data not
being recognised correctly on other arches than the originating one.
Details here
...
-V sss
Does not always work correctly. details
No support for evms volumes details
Other utilities of interest: FOG, Altiris, and Ghostcast,
Clonezilla (unicasting and multicasting)
Filesystem supported:
DRBL Diskless Remote Boot in Linux,
partclone,
ntfsclone and
udpcast,
Amanda