Backing up a Server

Kurt Wall kwall
Fri Nov 26 05:09:31 PST 2004


On Wed, Nov 24, 2004 at 10:04:16PM -0800, Shawn Tayler took 22 lines to write:
> Hi Guys,
> 
> I am currently backing up a server for a client.  This is in anticipation
> of the arrival of a new HD to be installed into it.  This is a Linux/Samba
> file server for a few Windows desktops.  I am simply using tar/ssh to put
> the HD partitions onto another PC for temp storage.
> 
> The question that came to mind while doing this was brought up by my plans
> to restore everythging onto the new HD.  How does one save the MBR and
> other "System areas" of a HD?  The  old dd if=/dev/sda of=somefile.bin
> count=1 bs=512 does mpt seem to cut it.  I still end up using a bootable CD
> and lilo'ing the drive.

I presume you copy somefile.bin back to the new disk? Alternatively, you
can just say

dd if=/dev/sda of=/dev/sdb count=1 bs=512

to got straight from disk to disk. I don't know why it didn't work for you
before.

Kurt
-- 
Famous, adj.:
	Conspicuously miserable.
		-- Ambrose Bierce


More information about the Linux-users mailing list