ADSM-L

Re: Backups of DEVICE CONFIG data and VOLUME HIST data

1999-04-21 15:30:29
Subject: Re: Backups of DEVICE CONFIG data and VOLUME HIST data
From: Dwight Cook <decook AT AMOCO DOT COM>
Date: Wed, 21 Apr 1999 14:30:29 -0500
     What I do is something like... (cool ftp tricks)

     for ADSMSERV in $(cat adsm.servers)
     do
     echo machine $ADSMSERV > $HOME/.netrc
     echo login someuserid >> $HOME/.netrc
     echo password somepass >> $HOME/.netrc
     echo macdef init >> $HOME/.netrc
     echo prompt off >> $HOME/.netrc
     echo get /path/volhistory /savedir/$ADSMSERV.volhist >> $HOME/.netrc
     echo get /path/devconfig /savedir/$ADSMSERV.devconfig >> $HOME/.netrc
     echo bye >> $HOME/.netrc
     echo >> $HOME/.netrc
     chmod 600 $HOME/.netrc
     ftp $ADSMSERV
     done

     OR you may just start an admin session from any client and do...

     dsmadmc -serv=blah -id=blah -pass=blah q devc f=d </dev/null
        >/path/file

     and the same for the volhist basically...

     either way....


______________________________ Reply Separator _________________________________
Subject: Backups of DEVICE CONFIG data and VOLUME HIST data
Author:  thaddad (thaddad AT COLUMBIAENERGYGROUP DOT COM) at unix,mime
Date:    4/21/99 11:22 AM


I have the options in DSMSERV.OPT to create backup copy files of each of these.
They reside on /USR/LPP/ADSMSERV/BIN.
I would like to create daily copies to another path other than ADSMSERV or to
another ADSM server. I have V3.1 ADSM.
Im running daily full backups of the database with BACKUP DB  and want to run
similar BACKUP DEVCONFIG and BACKUP VOLHIST for each server also (via an admin
schedule)

Any suggestions?

When I run BACKUP DEVCONFIG   FILENAMES=xxxxxx
WIll xxxxx reside under .../ADSMSERV/BIN? Can I specific a differenet path?