Paul wrote; Monday, November 24, 2008 4:52 PM
> Gerald Waugh wrote; Monday, November 24, 2008 7:38 AM
>
> Oops, mistake on mke3fs. should be mkfs.ext4, below, see correction
> below
> >
> > Paul wrote; Sunday, November 23, 2008 5:07 PM
> > >
> > > I have a friend who has just set up a BQ box, using sata Raid
> > > for the drives which works great. He has added a separate
> > > drive specifically for backups
> > > (sdb) which has been formatted as EXT3 i believe.
> > >
> > > Me not being a linux guru was wondering if anyone could
> > > advise as to how to config/mount this drive so it's seen as a
> > > system drive, and also how to config raqbackup to use this
> > > internal drive (i tend to use the neuhaus configurator to
> > > produce the configs, as it's much easier and in English!)
> > >
> > > Many thanks in advance for any advice!
> >
> > Install the drive in the system
> > Boot up System and partition the new drive:
> > fdisk /dev/sdb
> > Then
> **** mke3fs /dev/sdb1 (for each partition n)
> should be; mkfs.ext3 /dev/sdb1
> > Decide where you will be mounting it and create a mount point.
> > For example, if you will mount it as /mnt/backup, as root,
> > cd /mnt
> > mkdir backup
> > chmod 777 backup (makes the new drive accessible to
> > ordinary users) As root, mount -t ext3 /dev/sdb1 /mnt/backup
> > cd /mnt/backup
> > echo "test" > test (testing the drive)
> > cat test (you should see test as output)
> > rm test (remove the file test)
> > If all the above worked all is OK
> > Add the following line to /etc/fstab:
> > /dev/sdb1 /mnt/backup ext3 defaults 1 1
> >
> > The spare drive is mounted, and should mount again on reboot.
> >
> > Gerald
> >
>
> Gerald,
>
> Many thanks - worked perfectly!!
>
> However having issues now with Raqbackup.
>
> Using the settings on the newhaus site i get this:
>
> CHA="perl -pi -e"; DAT="raqbackup.sh"
> cd /etc/cron.daily
> wget http://www.neuhaus-internet.de/scripts/raqbackup32f.sh -O $DAT
> chmod 700 $DAT
> $CHA 's#MYSQLTAR="1"#MYSQLTAR="0"#' $DAT
> $CHA 's#CMUTAR="1"#CMUTAR="0"#' $DAT
> $CHA 's#DELBACKUP="1"#DELBACKUP="0"#' $DAT
> $CHA 's#TARGET="targethost.machine.com"#TARGET=""#' $DAT
> $CHA 's#TARGETUSER="backup"#TARGETUSER=""#' $DAT
> $CHA 's#TARGETPASS="passwordftp"#TARGETPASS=""#' $DAT
> $CHA 's#TARGETDIR=""#TARGETDIR="/mnt/backup"#' $DAT
> $CHA
> 's#MAILTO="somebody\ (at mark) somewhere.xyz"#MAILTO="wibble\ (at mark) wobble.com"#' $DAT
> $CHA 's#DETAILWHEN="0"#DETAILWHEN="always"#' $DAT
> ./raqbackup.sh check
>
> However this doesn't seem to pass the backup to the target
> dir. I can only
> presume that it ignored the TARGETDIR as it was set not to
> FTP, as i wanted
> it to stay local....
>
> I would guess it's a switch to store locally thats missing?....
>
> Thanks again
> Paul
Check the raqbackup.sh script.
Look for these lines;
SOURCE="automatic"
CHECKUPDATE="1"
DELBACKUP="0"
MAILSPOOLFIX="0"
Make sure DELBACKUP="0"
Gerald