ADSM-L

Re: exclude does not work in AIX?

1999-05-17 13:06:09
Subject: Re: exclude does not work in AIX?
From: William Wang <Williamw AT SPECTRUMWAY DOT COM>
Date: Mon, 17 May 1999 13:06:09 -0400
Hi Mark,
The inclexcl option in my machine is "None", though I have inclexcl entry in
dsm.sys.
I reboot my machine after add inclexcl in dsm.sys, but it does not help.

Thanks,
William Wang

Mark Owens wrote:

> MV,
>
> Lets start with issuing dsmc on the aix system.....
> then
> q opt    (to list the options)
>
> look for an option under genaeral options like this:
>
> ##### GENERAL OPTIONS #####
>        adminpromptnl 0
>      afsbackupmntpnt Yes
>        archiveserver
>               archmc
>       backupeventlog No
>       backupregistry Yes
>         backupserver
>                books
>      changingretries 0
>            clientuse
>       compressalways Yes
>          compression No
>   confirmbtwdataverb 0
>      confirmfilesize 2,097,152
>  commrestartduration 60
>  commrestartinterval 15
>           dateformat 0
>      dfsbackupmntpnt Yes
>                dirmc DEFAULT
>          dotdircheck Yes
>   dsmcdefaultcommand LOOP
>               editor Yes
>           endtxnwait 0
>         errorlogname dsmerror.log
>    errorlogretention 7
>         eventlogging No
>             filterfs Yes
>       followsymbolic No
>               groups None
>             inclexcl /usr/lpp/adsm/bin/include.exclude     <=========
>
> This path will confirm the location of the include.exclude file. I'm using
> the AIX client 3.1.20.6 on AIX 4.3.2 systems. Although I'm not very fond
> of the include.exclude syntax it does work.
>
> The include.exclude file is read from the bottom up. If you code
>
> include /mydir/all_other_files    - all_other_files will be backed-up
> exclude /mydir/myfile               - my file will not be backed-up
>
> Here's an example of my dsm.opt, dsm.sys and include.exclude
>
> dsm.opt
>
> * SErvername       A server name defined in the dsm.sys file
>         Servername      my.mainframe.com
>         domain          all-local
>         passwordaccess  generate
>
> dsm.sys
>
> SErvername  my.mainframe.com
>   NODENAME          mynode
>    COMMmethod         TCPip
>    TCPPort            1500
>    TCPServeraddress   my.mainframe.com
>    Schedlogname       /usr/lpp/adsm/bin/dsmsched.log
>    schedlogretention    7
>    errorlogretention    7
>    MAXCMDRetries      6
>    COMPression        no
>    TCPBuffsize        32
>    TCPWindowsize      64
>    TXNBytelimit       25600
>    Changingretries      0
>    inclexcl             /usr/lpp/adsm/bin/include.exclude
>    users              root
>
> include.exclude
>
> exclude /.../*core*
> exclude /.../dsmsched.log
> exclude /.../dsmerror.log
> exclude /.../nohup.out
>
> This does work..............
>
> "Vraspir, Mary J." wrote:
>
> > Mark,
> > I have not yet got the inclexcl to work properly on aix or hp.  I included
> > every iteration of exclude "this filespace" in my inclexcl and was still
> > backing up unwanted data.
> > My immediate work around (support's suggestion) is to put the desired
> > filespaces in the dsm.opt file.  This works fine BUT I am still backing up
> > the files I wanted to exclude (core, dsmerror.log, dsmsched.log, etc...)
> > Any other suggestions?  I went through my config with support and all seems
> > right.
> > Thanks
> > Mary Vraspir
> > West Teleservices
> > Omaha, NE
> >
> >         -----Original Message-----
> >         From:   Mark Owens [SMTP:Mark_Owens AT PRODIGY DOT NET]
> >         Sent:   Monday, May 17, 1999 9:52 AM
> >         To:     ADSM-L AT VM.MARIST DOT EDU
> >         Subject:        Re: exclude does not work in AIX?
> >
> >         You want to code these statements in
> >
> >         /usr/lpp/adsm/bin/include.exclude. Then make sure you have coded
> >
> >         inclexcl             /usr/lpp/adsm/bin/include.exclude
> > in dsm.sys.
> >
> >         William Wang wrote:
> >
> >         > Dear ADSMers,
> >         > I installed ADSM 3.1.20 in my AIX 43P which is running AIX 4.2.1.
> > When I
> >         > add the following two lines into /usr/lpp/adsm/bin/dsm.sys, The
> > exclude
> >         > does not work at all. What I want to do is exclude all of the
> > machine,
> >         > and then I can use include to perform a incremental backup. Would
> > you
> >         > please kindly tell me, how can I use exclude?
> >         >
> >         > exclude /*
> >         > exclude /.../*
> >         >
> >         > Thanks in advance!
> >         > William Wang
> >
> >         --
> >         Mark Owens
> >
> >         Prodigy Communications Corporation
> >         1565 Front Street
> >         Yorktown Heights, N.Y. 10598
> >         914.448.1912
> >
> >         Mark_Owens AT prodigy DOT net