1. Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING) Click the link to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This message will disappear after you have made at least 12 posts. Thank you for your cooperation.

Quirky Exclusion

Discussion in 'Management Client/Server' started by thejgolden, Feb 24, 2010.

  1. thejgolden

    thejgolden New Member

    Joined:
    Feb 24, 2010
    Messages:
    8
    Likes Received:
    0
    Occupation:
    Systems Analyst
    Location:
    Denver, CO
    I have a global server exclusion for *:\...\*.tmp but a client is attempting to backup files with tmp extensions. Is the syntax incorrect or am I missing something that's including tmp files after the exclusion call?

    Many thanks,

    Joel Golden
     

    Attached Files:

  2.  
  3. toxy13

    toxy13 Senior Member

    Joined:
    Sep 24, 2003
    Messages:
    739
    Likes Received:
    12
    Occupation:
    Administrator
    Location:
    Leipzig
    When did your server backup tmp files (scheduled or manual backup)?
     
  4. thejgolden

    thejgolden New Member

    Joined:
    Feb 24, 2010
    Messages:
    8
    Likes Received:
    0
    Occupation:
    Systems Analyst
    Location:
    Denver, CO
    It was a scheduled backup.
     
  5. Mita201

    Mita201 Senior Member

    Joined:
    Apr 20, 2006
    Messages:
    492
    Likes Received:
    12
    Occupation:
    System Engineer
    Location:
    Beograd, Serbia
    It looks like wrong syntax to me.
    I usually write "exclude.dir", and not "Exclude Directory" - I think that it will look for file called "Directory" or something like that.
    Also, I do not know what should "Exclude All" do.
    You may try to write:
    exclude "*:\...\*.tmp"
    or
    exclude.backup "*:\...\*.tmp"
    or similar
     
  6. BBB

    BBB Moderator

    Joined:
    Feb 13, 2007
    Messages:
    2,075
    Likes Received:
    19
    Location:
    Brisbane, Australia
    Sigh.... that's because its the output of a the q inclexcl command...

    Joel your output looks ok. Can you post the actual errors you were getting on the failed file?
     
  7. toxy13

    toxy13 Senior Member

    Joined:
    Sep 24, 2003
    Messages:
    739
    Likes Received:
    12
    Occupation:
    Administrator
    Location:
    Leipzig
    Maybe you not restarted you dsmcad/dsmsched service?
     
  8. umur

    umur New Member

    Joined:
    Sep 17, 2007
    Messages:
    333
    Likes Received:
    3
    Occupation:
    Backup and Recovery Team Leader
    Location:
    Istanbul
    I have often seen that doing a manual backup of the included directories help with this problem. Before that, you should update your scheduler service though.
     
  9. thejgolden

    thejgolden New Member

    Joined:
    Feb 24, 2010
    Messages:
    8
    Likes Received:
    0
    Occupation:
    Systems Analyst
    Location:
    Denver, CO
    Attached it a snippet from the dsm error log. The *:\...\*.tmp is a server defined client option with Force set to yes.
     

    Attached Files:

  10. BBB

    BBB Moderator

    Joined:
    Feb 13, 2007
    Messages:
    2,075
    Likes Received:
    19
    Location:
    Brisbane, Australia
    I don't think its actually trying to backup those files, its just complaining that they disappeared during the backup. Try excluding that whole directory if you don't need it with an exclude.dir, as that's the only way to stop it from traversing that part of the directory tree.
     
  11. GregE

    GregE Senior Member

    Joined:
    May 12, 2006
    Messages:
    2,100
    Likes Received:
    31
    That's what I was thinking as I've seen that lots of times with tmp files, BUT I thought that if they disappeared during the backup, TSM wouldn't care or notice because it was already not going to back them up. So I threw that thought aside.

    So TSM actually does see them, and throws an error, even though INCLEXCL says don't back them up?
     
  12. Eldoraan

    Eldoraan Senior Member

    Joined:
    Feb 19, 2003
    Messages:
    288
    Likes Received:
    10
    Occupation:
    Data Protection
    Location:
    Charlotte, NC
    Yeah, TSM scans the directory and builds the "candidate list", then it steps through that list and compares to incl/excl options. So if it sees them during scan, but they're gone when it does that compare, you get that message. Like BBB said, only way to prevent is to exclude.dir or exclude.fs - regular exclude still looks at file first.
     
  13. thejgolden

    thejgolden New Member

    Joined:
    Feb 24, 2010
    Messages:
    8
    Likes Received:
    0
    Occupation:
    Systems Analyst
    Location:
    Denver, CO
    Thanks

    Thanks to everyone for your responses.

    Joel
     

Share This Page