Tape Backup in 4.23

I am running a system under version 4.23, using an Adaptex SCSI controller.
Does anyone know what tape drives (20-30 gig) that I can attach, and if
there is any backup software that runs in QNX?

Hi Kerry,

Don’t think it should matter. As long as the adapter can see the tape drive
we should be able to interface with it.

E.


Kerry P. <kplackmeyer@hearst.com> wrote:

I am running a system under version 4.23, using an Adaptex SCSI controller.
Does anyone know what tape drives (20-30 gig) that I can attach, and if
there is any backup software that runs in QNX?

Kerry P. <kplackmeyer@hearst.com> wrote:

I am running a system under version 4.23, using an Adaptex SCSI controller.
Does anyone know what tape drives (20-30 gig) that I can attach, and if
there is any backup software that runs in QNX?

I run a Sony DAT tape backup drive (4G variety) and it works fine. Here’s
the script that I use for backups… YMMV :slight_smile:


#! /bin/sh

This script file is responsible for performing the daily backup

procedure. It runs in one of two modes. On the first of the

month, it backs up the entire disk (mounted on /) to $Backup/YYMM.Z.

(Where $Backup is the variable representing the backup device or

directory, and YYMM represents the year and month).

Every day, apart from the first of the month, it backs up any

files that have changed within the last day to $Backup/YYMMDD.Z.

Files contained in /etc/noback.table are explicitly not backed up.

These are typically news history files, or large libraries that can

be readily regenerated.

1993 10 13 R. Krten created.

Some variable definitions

Backup:

this is the backup device (DAT drive = /dev/tp0, for example)

Backup=/dev/tp0

Prepare for run

cd /

Determine if we need to do the entire month backup, or just the

incremental.

day=date +%d
month=date +%m

if test “$day” = “01”
then

Monthly

echo Monthly Backup to $Backup on date >/tmp/backup.report
tape rewind erase
echo Tape initialized at date >>/tmp/backup.report
find . /source/ ! ( -path ./usr/spool/news -prune ) -type f |
grep -vf /etc/noback.full.table |
tee -a /tmp/backup.report |
pax -w > $Backup

tape writefm rewind
echo Done on date >>/tmp/backup.report
mail -s"Monthly Backup Report" root </tmp/backup.report

else

Daily

echo Daily Backup in progress to $Backup on date >/tmp/backup.report
tape rewind
sleep 2
tape eod
sleep 2
echo Tape rewound to EOD on date >>/tmp/backup.report
find . /source/ ! ( -path ./usr/spool/news -prune ) -type f -ctime -2 |
grep -vf /etc/noback.table |
tee -a /tmp/backup.report |
pax -w > $Backup

tape writefm rewind
echo Done on date >>/tmp/backup.report
mail -s"Daily Backup Report" root </tmp/backup.report

Check to see if we should prompt the operator to change a tape

if test “$day” -gt “28”
then
echo Remember to change the tape RSN!!! >/tmp/x.x.x
mail -s"CHANGE THE TAPE!!!" root </tmp/x.x.x
rm /tmp/x.x.x
fi
fi

rm /tmp/backup.report

exit 0


\

Robert Krten, PARSE Software Devices +1 613 599 8316.
Realtime Systems Architecture, Consulting and Training at www.parse.com
Email my initials at parse dot com.