Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2011
    Thanked 3 Times in 2 Posts

    Thumbs down Include just files on a specific folder

    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


  2. #2
    Senior Member Raakin's Avatar
    Join Date
    Aug 2008
    Thanked 0 Times in 0 Posts


    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...

    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'.

Similar Threads

  1. Include just a folder, nothing else - Windows platform
    By ocarles in forum Backup / Archive Discussion
    Replies: 12
    Last Post: 01-17-2011, 02:46 PM
  2. Include-exclude Folder in 2 session.
    By stratanic in forum Backup / Archive Discussion
    Replies: 3
    Last Post: 07-22-2010, 02:37 AM
  3. Cannot copy files from one folder to another folder
    By christy.tfwu in forum Hierarchical Storage Management
    Replies: 7
    Last Post: 10-06-2008, 08:57 AM
  4. Replies: 6
    Last Post: 08-08-2007, 04:48 PM
  5. dsm.opt include statement for drive that is mounted as a folder
    By yelwar in forum Backup / Archive Discussion
    Replies: 5
    Last Post: 10-16-2006, 01:59 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts