1. Community Tip: Please Give Thanks to Those Sharing Their Knowledge.
    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.
  2. Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)
    Click the link above 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 notice will disappear after you have made at least 3 posts.

Include just files on a specific folder

Discussion in 'TSM Operation' started by ocarles, Apr 18, 2011.

  1. ocarles

    ocarles ADSM.ORG Member

    Joined:
    Jan 5, 2011
    Messages:
    54
    Likes Received:
    3
    I just want to backup only files on a specific folder.
    For example, backup only files on folder /home/oradev.

    For this, among exclude parameters, I use on dsm.sys:

    include /home/oradev/*

    As I know, /home/oradev/*, means that only files on /home/oradev will be included, but instead, other folder inside /home/oradev are included in backup.

    I am using linux baclient 6.2.2 on a suse 10 sp2 box.

    What config Can I use in order to backup only files?

    dsmc q opt, returns SUBDIR=NO

    TIA
     
  2.  
  3. Raakin

    Raakin ADSM.ORG Senior Member

    Joined:
    Aug 12, 2008
    Messages:
    373
    Likes Received:
    6
    My guess is you are not excluding the folders from backup under /home/oradev, hence why they are included. See if the below lines gets you closer to what you want...

    Code:
    EXCLUDE.DIR "/[a-g,i-z]*"
    EXCLUDE.DIR "/home/[a-n,p-z]*"
    EXCLUDE.DIR "/home/oradev/[a-z]*"
    
    EXCLUDE /.../*
    INCLUDE /home/oradev/*
    note: other directories on the '/' starting with 'H' may get backed up (not the files though) as well as any other directories on '/home' starting with 'O'.
     

Share This Page