[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] aargh, disk crash



>>>>> "Chris" == Chris J <Chris> writes:

    Chris> I just kicked off a cp -R to copy the dud partitions over
    Chris> ... it took bloody ages as the machine kept having to retry
    Chris> dodgy sectors before giving up though...Alex suggested
    Chris> using dd, which should also work.

    >> Finally, any suggestions about repair/replacement?  It is a
    >> 45Gig IBM Maxtor disk so I'm reluctant to scrap it, but once
    >> bitten etc.
    >> 

    Chris> Well Maxtor run a trade-in ... if the disk dies within its
    Chris> gurantee period (5 years I think with Maxtor -- check web
    Chris> page) you can get a no quibble replacement drive. Other
    Chris> drive manufactureres do similar things as well, so you
    Chris> might want to look into that.

Yeap - I got a Western Digital 8Gb drive replaced by a 10Gb after a
bit of arguing after it died.

    Chris> Similar to what I had when my ext2 partitions went wobbly.

    Chris> Everything else in your mail I can't answer ... not easily
    Chris> anyway :) Network backups could be done with something as
    Chris> simple as:

    Chris> 	tar cvf - * | rsh <remote host> tar xvBpf -

    Chris> but that would imply trusted network :) Other possibilities
    Chris> involve other incantations of tar/cpio and automated
    Chris> ftp/rcp/scp.

Another quite nasty looking way of doing it (these are the long
options - I've yet not bothered to work out the short way) is rsync
with ssh:

rsync --verbose  --progress --stats --compress
--rsh=/usr/local/bin/ssh --recursive --times --perms --links --exclude
"~/mp3/*" --exclude "*bak" --exclude "*~" ~/* server:/somewhere/else/safe/

That lot copies most (no hidden files/dir are copied) from ~/ to a
machine called server, into a directory /somewhere/else/safe/

Add the --delete-after option to delete files on the backup machine
that aren't on the main box after everything has been copied across.

Once this is done once, on changed files are copied (IIRC actually
just the changes to a modified file).

I dare say it's possible to use tar at some point :-)

Cheers,

Baz.

-- 
Barrie J. Bremner		OpenPGP public key ID: 5164F553
baz [at] barriebremner.com	http://barriebremner.com/


___________________________________________________________________

Sheffield Linux User's Group - http://www.sheflug.co.uk . 
To unsubscribe from this list send mail to 
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.