AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  HMC backup using nfs

    Posted Fri September 21, 2007 02:39 PM

    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.

    1. Set Variables
    ###################################
    LOG=/syslocal/create_hmcbackup_log_`date +%m%d%y`.log
    ##################################
    1. 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


  • 2.  Re: HMC backup using nfs

    Posted Fri September 21, 2007 02:55 PM

    Originally posted by: orphy


    bkconsdata also supports ftp, dvd, and none. I typically use ftp with
    occasional burns to dvd-rams also.
    Orphy
    #AIX-Forum