If you just want a copy of some file systems on another disk, why not
use rsync like I used to do to copy ext3 partitions on ext2 ones for my
TSM backup (that was before the 5.1 version that supports ext3
filesystems):
NUMFILES="$( (
  /etc/rc.d/init.d/mysql stop;
  /bin/mount -o remount,rw /ext2b;
  /usr/bin/rsync -aRSx --delete --stats  / /home /ext2b/;
  /bin/mount -o remount,ro /ext2b;
  /etc/rc.d/init.d/mysql start;
  ) 2>&1 | awk '/Number of files transferred:/{print $NF}')"
if [[ $NUMFILES < 1 ]]; then
  echo "No files copied.  ERROR!"
fi

Denis

On Thu, 2002-08-15 at 08:18, Post, Mark K wrote:
> Which is exactly what Michael asked for, and what he'll get with using "dd."
> I tend to agree that a software RAID will probably serve Michael better than
> running "dd" every night.
> 
> Mark Post
> 
> -----Original Message-----
> From: Ledbetter, Scott E [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 15, 2002 7:45 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Cloning i386 Hard Drives - Like DDR
> 
> 
> RAID1 protects against physical disk disaster, but not logical problems.
> For example, if your database is corrupted, with a RAID1 scheme it is
> corrupted on both copies.
> 
> Scott Ledbetter
> StorageTek
> 
-- 
Denis Beauchemin, analyste
Universit� de Sherbrooke, S.T.I.
T: 819.821.8000x2252 F: 819.821.8045

Reply via email to