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

How do you mirror?



Hi,

I want to mirror one disk on one machine on to another disk on another
machine, but I am at a loss for the best way to do it. It is for backup
purposes and I intend to have the mirroring done each morning at about
4am

I have been using rsync, but that coppies the changes on the main disk
onto the backup disk, but seems not to be able to remove from the backup
anything that has been removed from the main disk, so after a period of
time the backup disk overflows with old, unwanted stuff.

I also concirered a rm -rf /<backup disk>, followed by a cp *, but that
will take ages each night, so that is not the way to go.

This must be being done all over the place in lots of locations - what
is the right/best way to approach this?

-- 
________________________________________________________________________
  Keith O'Connell
  Maidstone, Kent (UK)
  keith_oconnell@blueyonder.co.uk



Reply to: