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.

Wildcard file restore

Discussion in 'Restore / Recovery Discussion' started by lordjeffers, Mar 24, 2012.

  1. lordjeffers

    lordjeffers New Member

    Joined:
    Oct 3, 2011
    Messages:
    7
    Likes Received:
    0
    Hi,

    I have an urgent need to restore some files across multiple subdirectories but I think due to the number of files in question I am having a lot of issues.

    The total backup set has approx 15,000,000 files on a Windows server, and I need to restore approx 5,000,000 of these, all of which are inactive. The problem is that these files a spread across a couple of thousand different directories, in amongst a bunch of directories that I don't need to be restored.

    If I use the BA GUI I can obviously select the directories one by one, but this takes hours. I have tried using the search or filter options to select the data in question, which is anything backed up before April 2011, but due to the number of files (I think) the GUI always crashes with memory issues.

    So now I am trying the command line, but I don't think the wildcard option works across subdirs, or have I got the command wrong? I have tried this:

    restore \\server\dir1\dir2\dir3\*2010.pdf -subdir=yes -latest

    The files are all called *2010.pdf but are split across a couple of thousand subdirectories beneath dir3

    I have also tried using -inactive but either way I get no files restored


    Please can anybody help / advise?

    Thanks

    Dave
     
  2.  
  3. moon-buddy

    moon-buddy Moderator

    Joined:
    Aug 24, 2005
    Messages:
    6,258
    Likes Received:
    282
    Occupation:
    Electronics Engineer, Security Professional
    Location:
    Somewhere in the US
    TRy:

    restore -subdir=yes -latest \\server_name\...\*2010.pdf
     

Share This Page