LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-28-2010, 08:09 AM   #1
campanula
LQ Newbie
 
Registered: Feb 2010
Posts: 9
Blog Entries: 3

Rep: Reputation: 0
how do I verify a clonezilla backup?


Currently have just Ubuntu 9.10 on my computer in a single partition (brother set it up), and I want to resize this partition to make a new partition, so that I can dual-boot to a new distribution to test out before committing myself.

Fairly sure I'm comfortable with the instructions for this, but I know I need a verified backup first...

So, I can backup to an external usb hard drive using clonezilla, but how do I verify that it's all backed up correctly without actually restoring it?

Many thanks in advance for your reply!
 
Old 09-28-2010, 11:54 PM   #2
btncix
Member
 
Registered: Aug 2009
Location: USA
Posts: 141

Rep: Reputation: 26
If you have a spare drive, restore your backup to that hard drive and boot it up. Granted the process may not be as straight forward because of differences in hard drive size, but this should be very doable. Just make sure the partition sizes are setup the same.
 
1 members found this post helpful.
Old 09-29-2010, 04:18 AM   #3
campanula
LQ Newbie
 
Registered: Feb 2010
Posts: 9

Original Poster
Blog Entries: 3

Rep: Reputation: 0
thanks for your reply. Unfortunately I only have the external usb hard drive, and can't boot from usb - does that mean that this method won't work? (brother built computer from spare bits he had, so motherboard/bios is old I think)

thanks again,
K
 
Old 09-29-2010, 05:41 AM   #4
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Now I don't use Clonezilla, but according to this page about Clonezilla Live there's an option to calculate checksums for the images:

Quote:
-gm Generate image MD5 checksums

Causes Clonezilla Live to calculate MD5 checksum(s) of image(s) created. If the image gets corrupted afterwards, the checksum allows to notice the corruption before the image is restored. Mind you, calculating the checksum takes some time and slows the process down a little.
I gather you should be able to do this when creating the images with it. It would be good if it could produce you two checksums, one for your *real* system (at the time of cloning) and one for the created image, after which you could verify that they are identical to see that the backup is fine. I can't say if Clonezilla can do that, and if it can't, your only means of checking whether the cloning operation really did work without problems is to put it on a 2nd disk and see if it works, like btncix mentioned. But you should still calculate a checksum of the image, for then you could later compare if the image is still exactly the same as when it was created, or if it has changed for some reason (when you copied it to another place, for example). Calculating checksums of big disk images takes time, but I assume it's still faster than laying out the image onto a disk and booting that. And it's pretty reliable, because the algorithms are made so that a small change in the data causes huge changes in the calculated checksum.

Some distribution installers use this method (i.e. give you a menu option in the startup screen) to check if the installation disc is all right before proceeding to the actual installer. That way the user can (if hardware failures during installation are not taken into account) be pretty sure that they've downloaded and burned the installer without problems and can rest assured that it doesn't fail because of some bits being wrong. Exactly what you'd like to see here, right?

Last edited by b0uncer; 09-29-2010 at 05:43 AM.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Clonezilla Backup and restore riyan Linux - Server 6 02-02-2010 10:13 AM
Backup / restoring with g4L or Clonezilla araczek Linux - General 1 05-03-2009 04:46 AM
openssl ssl error code 14090086 verify the CA cert is ok / certificate verify failed acummings Slackware 14 02-27-2009 01:51 AM
CD-RW/ Verify backup questions. PraxisArch Linux - Hardware 1 08-06-2004 06:57 PM
backup/verify files with tar hokri Linux - General 0 11-27-2001 06:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration