From: Jim on
On 29/06/2010 14:16, Simon Wilson wrote:
>>> What's the best way to take an image backup of the whole disk such that
>>> it would just boot from the copy if I needed it to?
>>
>> USB HDD caddy, then "rsync -Rcax / [mountpoint]" for the copying. The
>> 'c' makes it checksum everything, you can omit it most of the time and
>> it'll be faster.
>
> So as I suspected, I'll need to get into the case for this.

No, I mean buy a spare HDD and then a USB caddy to put it in. This means
you can treat it as your backup drive, plug it into the back via USB.

If the internal HDD fails, you do the same process in the opposite
direction.

I presume you are using something like Boot Camp to partition your
system in Mac OS X and Ubuntu?

>> You could muck around with dd to get a disk image, but frankly you're
>> just copying stuff you don't need to.
>
> dd worries me in that it doesn't error check very well IIRC?

You're unlikely to have an error that can't be caught by fsck, however
if you're really concerned you could md5 checksum the partition and the
image that you create using something like

# cat /dev/sda1 | openssl md5

>> You will need to do some fiddling with boot loaders to get it to boot
>> off the second disk if you ever need to.
>
> hmmm fiddling = bad. It will of course always happen at the worst
> possible time.

You're probably right!
From: DozynSleepy on
On 29/06/2010 14:00, Simon Wilson wrote:
> I have a little server (macmini, powerpc, ubuntu server based) at home
> that I'm now quite attached to. It does email, dhcp, webserver all that
> kind of stuff. It's taken me quite a long time to get it just right, but
> I don't have a decent backup of it.
>
> Taking the HD out is quite a pain due to the case design.
>
> What's the best way to take an image backup of the whole disk such that
> it would just boot from the copy if I needed it to?
>
> Free is good.
>

My preference would be to use partimage, otherwise it's old fashioned
"disc images using dd" [1]

You need to boot from an Ubuntu or alternative Linux livecd [2][3]

Hopefully the powerpc livecd on Mac mini allows you to mount a large
external usb drive for the backup images or mount a drive over the
network to another pc.

If clonezilla [4] was available for powerpc I'd suggest that.


[1] http://help.ubuntu.com/community/DriveImaging
[2] http://cdimage.ubuntu.com/ports/releases/10.04/release/
[3] http://mac.linux.be/content/apple-powerpc-wiki
[4] http://clonezilla.org/
From: Simon Wilson on
On 29/06/2010 14:32, Jim wrote:
> On 29/06/2010 14:16, Simon Wilson wrote:
>>>> What's the best way to take an image backup of the whole disk such that
>>>> it would just boot from the copy if I needed it to?
>>>
>>> USB HDD caddy, then "rsync -Rcax / [mountpoint]" for the copying. The
>>> 'c' makes it checksum everything, you can omit it most of the time and
>>> it'll be faster.
>>
>> So as I suspected, I'll need to get into the case for this.
>
> No, I mean buy a spare HDD and then a USB caddy to put it in. This means
> you can treat it as your backup drive, plug it into the back via USB.
>
> If the internal HDD fails, you do the same process in the opposite
> direction.

So I can rsync from a 'live' system disk (no open file issues - if I
shut down mysql I should be ok?)

>
> I presume you are using something like Boot Camp to partition your
> system in Mac OS X and Ubuntu?

OSX is no more - it's just a pure Ubuntu disk - not sure which boot
loader it uses, whatever came with the PPC build.

>
>>> You could muck around with dd to get a disk image, but frankly you're
>>> just copying stuff you don't need to.
>>
>> dd worries me in that it doesn't error check very well IIRC?
>
> You're unlikely to have an error that can't be caught by fsck, however
> if you're really concerned you could md5 checksum the partition and the
> image that you create using something like
>
> # cat /dev/sda1 | openssl md5
>
>>> You will need to do some fiddling with boot loaders to get it to boot
>>> off the second disk if you ever need to.
>>
>> hmmm fiddling = bad. It will of course always happen at the worst
>> possible time.
>
> You're probably right!

I know I am!

Thanks for the pointers.

--
/Simon

From: Simon Wilson on
On 29/06/2010 14:43, DozynSleepy wrote:
> On 29/06/2010 14:00, Simon Wilson wrote:
>> I have a little server (macmini, powerpc, ubuntu server based) at home
>> that I'm now quite attached to. It does email, dhcp, webserver all that
>> kind of stuff. It's taken me quite a long time to get it just right, but
>> I don't have a decent backup of it.
>>
>> Taking the HD out is quite a pain due to the case design.
>>
>> What's the best way to take an image backup of the whole disk such that
>> it would just boot from the copy if I needed it to?
>>
>> Free is good.
>>
>
> My preference would be to use partimage, otherwise it's old fashioned
> "disc images using dd" [1]
>
> You need to boot from an Ubuntu or alternative Linux livecd [2][3]

Ah this is what I suspected. I'll those links - thank you.

>
> Hopefully the powerpc livecd on Mac mini allows you to mount a large
> external usb drive for the backup images or mount a drive over the
> network to another pc.
>
> If clonezilla [4] was available for powerpc I'd suggest that.
>
>
> [1] http://help.ubuntu.com/community/DriveImaging
> [2] http://cdimage.ubuntu.com/ports/releases/10.04/release/
> [3] http://mac.linux.be/content/apple-powerpc-wiki
> [4] http://clonezilla.org/

--
/Simon

From: Paul Carmichael on
Simon Wilson escribió:

> I have a little server (macmini, powerpc, ubuntu server based) at home
> that I'm now quite attached to. It does email, dhcp, webserver all that
> kind of stuff. It's taken me quite a long time to get it just right, but
> I don't have a decent backup of it.
>
> Taking the HD out is quite a pain due to the case design.
>
> What's the best way to take an image backup of the whole disk such that
> it would just boot from the copy if I needed it to?
>
> Free is good.

Mondo.

--
Paul.
CBR1100XX SuperBlackbird (Buen mueble de patio), Orbea Dakar
BOTAFOT #4 BOTAFOF #30 MRO #24 OMF #15 UKRMMA #30
http://paulcarmichael.org/ (content pending)
First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4
Prev: Yamaha FZR600
Next: Chinese junctions