From: BAKHSHESH Kazem (BAKHSHEK@ESSILOR.fr)
Date: Wed Dec 11 2002 - 09:09:59 EST
Hi admins,
Thanks to ervery body for your quick answer specially Eef Hartman.
Here what did I did
========================== shell script
D=0m
LECTEUR="/dev/rmt/${D}"
SAVJOUR="-i u09_2"
mt -t $LECTEUR rew; mt -t $LECTEUR rew
Backup()
{
LOG=${D}\.backup_M2.log ;
cd /backup
/usr/sbin/fbackup -0v $SAVJOUR -f $LECTEUR 1>>$LOG 2>>$LOG
}
Restor()
{
LOG=${D}\.restore_M2.log
cd /
frecover -v -x -f $LECTEUR $SAVJOUR 1>>$LOG 2>>$LOG
}
#Restor
#Backup
=========================== fin of shell script
#----------------------------------- bdf out put after restore
# /dev/vg09/lvol2 10240000 9629774 591164 94% /u09_2
# /dev/vg09/lvol2backup 10240000 9629774 591164 94% /backup/u09_2
#----------------------------------- bdf out before restore
# /dev/vg09/lvol2 10240000 3406 9916708 0% /u09_2
# /dev/vg09/lvol2backup 10240000 9629774 591164 94% /backup/u09_2
Cordialement(Best regards)
Kazem Bakhshesh(administrateur Système:HP-UX)
E-Mail : bakhshek@essilor.fr
Tel : 01.48.98.73.09
-- ---> Please post QUESTIONS and SUMMARIES only!! <--- To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only) http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:23 EDT