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.

Include only these dir and subdir

Discussion in 'Backup / Archive Discussion' started by joxers64, Feb 9, 2011.

  1. joxers64

    joxers64 New Member

    Joined:
    Feb 3, 2010
    Messages:
    9
    Likes Received:
    0
    HI There,

    I have checked the previous posts on this and not really found an answer.

    I would like to only backup 3 directories on my server:
    DOMAIN All-Local -SYSTEMSTATE

    *exclude everything
    exclude *

    *Include only these directories and sub directories
    INCLUDE "C:\appfilder\*"
    INCLUDE "C:\appfolder\...\*"
    INCLUDE "C:\InetPub\*"
    INCLUDE "C:\appfolder\...\*"
    INCLUDE "D:\Backup\*"
    INCLUDE "D:\Backup\...\*"

    When i launch the client and check the incl via q incl it all looks fine:

    [​IMG][​IMG]
    Include FS *\*\* dsm_7yr.opt
    Include All D:\Backup\...\* dsm_7yr.opt
    Include All D:\Backup\* dsm_7yr.opt
    Include All C:\appfolder\...\* dsm_7yr.opt
    Include All C:\InetPub\* dsm_7yr.opt
    Include All C:\appfolder\...\* dsm_7yr.opt
    Include All C:\appfolder\* dsm_7yr.opt
    Exclude All *\...\* dsm_7yr.opt
    No DFS include/exclude statements defined.

    When i run an 'i' it backs up as above but also the entire empty directory structure.

    How can i get it to only check and backup the folders specified?

    thanks

    John
     
  2.  
  3. Raakin

    Raakin Senior Member

    Joined:
    Aug 12, 2008
    Messages:
    373
    Likes Received:
    6
  4. whitepup

    whitepup New Member

    Joined:
    Jan 25, 2007
    Messages:
    36
    Likes Received:
    1
    You will need to use Exclude.dir to exclude the directories not listed in your include statements.
     
  5. joxers64

    joxers64 New Member

    Joined:
    Feb 3, 2010
    Messages:
    9
    Likes Received:
    0
    Thanks guys,

    am running this
    exclude.dir C:[b-fh-hj-z]*
    exclude.dir D:[a-ac-z]*

    let you know how i go
     

Share This Page