-
Senior Member
registered user
Re: Windows Rescue CD All In One script (aioscript) PART 2!

Originally Posted by
bizarro
Partimage) umounts all drives and launches qtparted
Why are you making the command partimage launch qtparted? Partimage would be useful to make a complete backup. (though I use dd and it works just fine) So you might want to creat two differnt backup scripts. One that backs up folders and files, another that backups like Ghost.
I can give you what I use for backing up my drive useing dd if it helps.
Code:
*Done with Root privliges.*
dd if=/dev/hdX | gzip -c | dd of=/share/hdbackup.img.gz && cat /dev/hdX | md5sum && zcat /share/hdbackup.img.gz | md5sum
Basicly that gets dd to send its data to gzip which compress it and then sends it to dd to write it to a file. Then use cat sends the raw data of the drive to md5sum and then sends the raw data of the compressed image to md5sum to compare if the image is a binary equal.
Depending on the way your sending the file to anyother computer, you may need to split the file into 1-2 gig chunks. But before you can md5sum the image your going to need to put it back together. For some reason zcat doesn't accept wildcards.
To put the image back on the drive just issue this.
Code:
*need root privliges.*
zcat /share/hdimage.img.gz | dd of=/dev/hdX && zcat /share/hdimage.img.gz | md5sum && cat /dev/hdX | md5sum
If possible your going to want to blank the drive with zeros for better compression.
Similar Threads
-
By Gurgham in forum General Support
Replies: 6
Last Post: 07-26-2005, 04:02 AM
-
By bizarro in forum Customising & Remastering
Replies: 2
Last Post: 05-22-2005, 06:06 AM
-
By bizarro in forum MS Windows & New to Linux
Replies: 12
Last Post: 10-01-2004, 01:32 AM
-
By HK in forum General Support
Replies: 4
Last Post: 11-14-2003, 05:34 PM
-
Replies: 8
Last Post: 03-28-2003, 08:43 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD
$1599.99

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$179.99

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series
$375.00

IBM EMC 091-000-091 17 Inch Rackmount LCD Keyboard KVM Console 03N7012
$109.99

IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU
$999.99

IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1)
$150.00

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$110.30

1 X IBM 720 POWER SERVER WITH 32 GB RAM
$344.97

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620
$199.99

DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR
$1100.00