Script for Automatic Backups of IDS
Posted in 1998
Hi,
I would like to donate this script for automatic backing up of IDS on
Solaris using a cron job.
#!/sbin/sh
#
# Copyright (C) 1998 System Admin team
# SilkRoute Ventures Pte Ltd
# Coded by Isaiah Chua
# 3 July 1998
#
# Feel free to port it for use on other Sun servers
# Best run under Bourne shell
# Under Solaris 2.5.1
# For Informix
#
# Last modified: 10 July 1998 at 1040 hrs (revision 5)
# with Walrus and Swod (swod@silkroute.com)
#
# This piece of code automatically backs up the IDS
# For use in cron jobs.
INFORMIXDIR=/opt/informix export INFORMIXDIR
ONCONFIG=onconfig.tourism export ONCONFIG
INFORMIXSERVER=tourism_online export INFORMIXSERVER
DBCENTURY=C
export DBCENTURY
cd /opt/informix/bin
# The follwing line place a return character to automatically run the
backup script
echo "\\r" | ./ontape -s -L 0
# End of script