-
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

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM
$1499.00

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001
$245.00

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W
$524.99

Dell PowerEdge C4130 1U AI GPU Server | 2x E6-2699 v3 | 128gb RAM | 2x 1600W
$899.99

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter
$27.50

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00