|Title: ||Linux backup|
|Author: ||Michael Marxmeier (email@example.com)|
Q: How to perform a bachup on a Linux system
A: We once used something like the simple script
echo "Backup start ... `date`"
#mt -f $DEV_NST datcompression 2
/opt/eloquence6/bin/dbctl -u dba backup start
tar -cf $DEV_ST --exclude="/proc" /
/opt/eloquence6/bin/dbctl -u dba backup stop
mt -f $DEV_NST offline
echo "Backup done ... `date`"
It performs a full backup (using on-line backup for eloqdb6)
ejects the tape after backup and sends a protocol by email to
root if executed as a cron job).
If you ever need to kill this script make sure you execute a
dbctl backup stop manually.