RE: [H] Linux imaging

2006-04-18 Thread Mesdaq, Ali
Depending on the imaging solution. DriveImage or whatever before
Symantec used to do sector cloning by default. Ghost has almost always
done file ghosting except when explicitly given the sector cloning flag.
To do real sector cloning is a pretty huge and inefficient process. Its
only good for forensics.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Harry McGregor
Sent: Tuesday, April 18, 2006 12:47 PM
To: The Hardware List
Subject: Re: [H] Linux imaging

Ben Ruset wrote:
> Tar is taking files out of a compressed (well, if it's gzipped) 
> archive and recreating them on your system.
:)
> Imaging is doing a sector by sector copy, archival, compression, and 
> sector by sector restore on another machine.
Not necessarily.  Ghost under Fat32/NTFS does not do sector copy, it 
does file copy, and recreation.

> Now, if you were dd'ing disks, I'd say you were imaging.
DD works well for forensics work, dd-rescure is better.
> BTW, we do tar restores of our Linux boxen here. :)

   Harry



Re: [H] Linux imaging

2006-04-18 Thread Harry McGregor

Ben Ruset wrote:
Tar is taking files out of a compressed (well, if it's gzipped) 
archive and recreating them on your system.

:)
Imaging is doing a sector by sector copy, archival, compression, and 
sector by sector restore on another machine.
Not necessarily.  Ghost under Fat32/NTFS does not do sector copy, it 
does file copy, and recreation.



Now, if you were dd'ing disks, I'd say you were imaging.

DD works well for forensics work, dd-rescure is better.

BTW, we do tar restores of our Linux boxen here. :)


  Harry


Re: [H] Linux imaging

2006-04-18 Thread Ben Ruset
Tar is taking files out of a compressed (well, if it's gzipped) archive 
and recreating them on your system.


Imaging is doing a sector by sector copy, archival, compression, and 
sector by sector restore on another machine.


Now, if you were dd'ing disks, I'd say you were imaging.

BTW, we do tar restores of our Linux boxen here. :)


Re: [H] Linux imaging

2006-04-18 Thread Harry McGregor

Ben Ruset wrote:

Tar isn't really cloning. :)
For Linux it sure is, you don't have any nasty things like a registry to 
get in your way.  Fresh format file system is always cleaner than a 
partition or sector image.


Using Mcat (multicast cat)
(Master)
#!/bin/sh
mount /dev/hda3 /mnt
cd /mnt
tar clp --numeric-owner --totals . | udp-sender --full-duplex 
--max-bitrate 30m


(Clients)
#! /bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/bin:/usr/local/sbin
echo "Reformating..."
umount /dev/hda3
mkfs.ext2 /dev/hda3
mkswap /dev/hda2
echo "Mounting..."
mount /dev/hda3 /mnt
cd /mnt
echo "Joining multicast..."
udp-receiver --rcvbuf 50m --nokbd | tar xlp --numeric-owner --totals
echo "Enabling journal"
tune2fs -j /dev/hda3
sync
echo "Fixup grub"
echo -e "root (hd0,2)\nsetup (hd0)" | grub --batch --no-floppy
echo "Done."
/sbin/reboot


Ghost4UNIX is. And it's free.

I might look at that...


  Harry





Re: [H] Linux imaging

2006-04-18 Thread Ben Ruset

Tar isn't really cloning. :)

Ghost4UNIX is. And it's free.

Harry McGregor wrote:

Christopher Fisk wrote:

On Mon, 17 Apr 2006, Winterlight wrote:


What program can image and restore  Linux partitions?


You had a couple of responces for actual partition imaging, so I'll go 
on a slightly different vein.


If you were just going for backup, or transfer of a linux system to 
another hard drive you can just use tar, preserve permissions, etc and 
tar up the filesystem and restore to another drive.


For cloning, we use either Tar and Netcat, Tar and MCat, or rsync for 
small changes.


  Harry

Christopher Fisk





Re: [H] Linux imaging

2006-04-18 Thread Harry McGregor

Christopher Fisk wrote:

On Mon, 17 Apr 2006, Winterlight wrote:


What program can image and restore  Linux partitions?


You had a couple of responces for actual partition imaging, so I'll go 
on a slightly different vein.


If you were just going for backup, or transfer of a linux system to 
another hard drive you can just use tar, preserve permissions, etc and 
tar up the filesystem and restore to another drive.


For cloning, we use either Tar and Netcat, Tar and MCat, or rsync for 
small changes.


  Harry

Christopher Fisk




Re: [H] Linux imaging

2006-04-17 Thread Winterlight

At 02:11 PM 4/17/2006, you wrote:

On Mon, 17 Apr 2006, Winterlight wrote:


What program can image and restore  Linux partitions?


You had a couple of responces for actual partition imaging, so I'll go on 
a slightly different vein.


If you were just going for backup, or transfer of a linux system to 
another hard drive you can just use tar, preserve permissions, etc and tar 
up the filesystem and restore to another drive.


Interesting, but this is a dual boot box. Win2K and Suse-10. So it would be 
easy for me to use a program like Ghost. I have Drive Image 7.0 but I don't 
trust it with Linux. Back in version 5 or 6 I discovered that while DI 
would back up Linux it couldn't restore it properly, it wouldn't boot. 
Maybe version 7 is better? But if Ghost works I probably have a copy on a 
old System works disk.






Christopher Fisk
--
BOFH Excuse #385:
Dyslexics retyping hosts file on servers




Re: [H] Linux imaging

2006-04-17 Thread Christopher Fisk

On Mon, 17 Apr 2006, Winterlight wrote:


What program can image and restore  Linux partitions?


You had a couple of responces for actual partition imaging, so I'll go on 
a slightly different vein.


If you were just going for backup, or transfer of a linux system to 
another hard drive you can just use tar, preserve permissions, etc and tar 
up the filesystem and restore to another drive.



Christopher Fisk
--
BOFH Excuse #385:
Dyslexics retyping hosts file on servers


Re: [H] Linux imaging

2006-04-17 Thread Ben Ruset

Symantec Ghost. Acronis TrueImage. Ghost for UNIX.

http://www.feyrer.de/g4u/

Winterlight wrote:

What program can image and restore  Linux partitions?




Re: [H] Linux imaging

2006-04-17 Thread Jamie Furtner
Partimage can deal with ext[23]fs, Reiser3, JFS, and XFS partitions.

www.partimage.org is the site.

Jamie

On Mon, April 17, 2006 2:45 pm, Winterlight wrote:
> What program can image and restore  Linux partitions?
>
>
>
>


-- 
Jamie Furtner [EMAIL PROTECTED]
"I aim to misbehave"
- Malcom Reynolds (Serenity movie)
"It's not safe...
"For them."
- River Tam (Serenity movie)