[Ilugc] how to take image from redhat linux running os

  • From: idlecool@xxxxxxxxx (Shiv Deepak)
  • Date: Tue Jun 15 10:08:20 2010

On Mon, Jun 14, 2010 at 5:00 PM, karthi keyan <shrikaarthick.g@xxxxxxxxx> wrote:


Dear friends,
? ? ? ? ? ? ? ? ? ? Redhat 4 we are using proxy server, that server os need
to take image to external hard disk.
Please tell way and method....

if by taking image you mean to say you want to take backup of the
current OS then you can consider using the 'dd' command:

here are some details regarding it:

If the existing disk fails, you can boot from the external drive
backup and have your system back instantaneously.

This series will make a DVD backup of hard drive partition:
Code:

dd if=/dev/hda3 of=/home/sam/backup_set_1.img bs=1M count=4430
dd if=/dev/hda3 skip=4430 of=/home/sam/backup_set_2.img bs=1M count=4430
dd if=/dev/hda3 skip=8860 of=/home/sam/backup_set_3.img bs=1M count=4430

And so on. This series will burn the images to DVD+/-R/RW:
Code:

wodim -dev=/dev/hdc --driveropts=burnfree /home/sam/backup_set_1.img

and so forth. To restore the from the backup, load the DVDs in order,
and use commands like these:
Code:

 dd if=/media/dvd/backup_set_1.img of=/dev/hda3 bs=1M conv=sync,noerror

Load another DVD
Code:

dd if=/media/dvd/backup_set_2.img of=/dev/hda3 seek=4430 bs=1M conv=sync,noerror

Load another DVD
Code:

dd if=/media/dvd/backup_set_3.img of=/dev/hda3 seek=8860 bs=1M conv=sync,noerror

and so forth.

source: 
http://www.linuxquestions.org/questions/linux-newbie-8/learn-the-dd-command-362506/

i hope the above link has helped you with your problem :)


--
Regards
G.Karthick
9629214811
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc



--
idlecool

Other related posts: