Originally posted by: SystemAdmin
Hello, I see that the back to nfs is very slow and takes lot of time. What are the other methods you are using for hmc backup? Here is script I used to do the backup from crontab of another machine which has passwordless ssh to hmc.
-
Set Variables
###################################
LOG=/syslocal/create_hmcbackup_log_`date +%m%d%y`.log
##################################
-
Main Routine
##################################
echo "Create hmcbackup started on $(date)"|tee $LOG
ssh hscroot@hmc001 bkconsdata -r nfs -h nfsserver01 -l /system_images/backup/
if [
$? -eq 0 ] then
SUBJECT="$(hostname -s) hmc backup successful"
ls -l /system_images/backup/ |tee -a $LOG
mail -s "$SUBJECT" UNIX-SUPPORT <$LOG
else
SUBJECT="$(hostname -s) hmc backup failed"
mail -s"$SUBJECT" UNIXSUPPORT <$LOG
fi
echo "Create hmc backup finished on $(date)" |tee -a $LOG
#AIX-Forum