ADSM-L

Re: exclude does not work in AIX?

1999-05-17 14:15:48
Subject: Re: exclude does not work in AIX?
From: William Wang <Williamw AT SPECTRUMWAY DOT COM>
Date: Mon, 17 May 1999 14:15:48 -0400
I got it.
In AIX, the include/exclude seems not base on the directory structure. It is
base on filesystem.
In my include/exclude file, if I exclude the filesystem. It will work fine.
like:
    exclude.fs /home
    exclude.fs /usr
    exclude.fs /

If I mount a filesystem "mytest" to /home/test, and in the include/exclude file
I wrote: "exclude /home/.../*" ,  it will not exclude the filesystem "mytest" .
To exclude the filesystem, I should use :"exclude.fs /home/mytest" .

Thank.
William Wang

"Robinson, Cris" wrote:

> It's a feature. I have a whole list of these features!
>
> C
> __________________________________________________
> Cris Robinson
> Sr. Technical Analyst
> Enterprise Storage Management / ADSM
> Liberty Mutual Insurance
> Portsmouth, New Hampshire
> 603.431.8400.54837
> mailto:cris.robinson AT libertymutual DOT com
>
> Dilbert words of Wisdom:
> Accept that some days you're the pigeon,
> and some days you're the statue!
>
> > -----Original Message-----
> > From: Kelly J. Lipp [SMTP:lipp AT STORSOL DOT COM]
> > Sent: Monday, May 17, 1999 1:34 PM
> > To:   ADSM-L AT VM.MARIST DOT EDU
> > Subject:      Re: exclude does not work in AIX?
> >
> > Mark,
> >
> > I tried this as well.  No luck.  I'll be darned if I know why.  Sometimes
> > on some systems, it works.  At other times, I can't make it work to save
> > my
> > soul.
> >
> > Kelly J. Lipp
> > Storage Solutions Specialists, Inc.
> > www.storsol.com
> > lipp AT storsol DOT com
> > (719)531-5926
> >
> > -----Original Message-----
> > From:   Mark Owens
> > Sent:   Monday, May 17, 1999 10:20 AM
> > To:     ADSM-L AT VM.MARIST DOT EDU
> > Subject:        Re: exclude does not work in AIX?
> >
> > 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
<Prev in Thread] Current Thread [Next in Thread>