curioffl Posted November 11, 2010 Report Share Posted November 11, 2010 Sorry, this feels like a total noob question but I can't seem to make it work with the available exclude rules. I want to backup a folder and all of its files, but none of its subfolders. Is there a combination that will do this? Defined "Volume" Data is: I:\data\ I want to backup: I:\data\file1.tmp I:\data\file100.txt I:\data\file1000.bmp But not: I:\data\folder1\* I:\data\folder2\* The files and folders in I:\data\ are constantly changing (so I can't just include/exclude specific ones) but I always want all of the files in the folder and I never want any of the subfolders. Thanks. C Quote Link to comment Share on other sites More sharing options...
Daniels Posted November 12, 2010 Report Share Posted November 12, 2010 When you set up your inclusion/exclusion rule for a folder there is an option to include enclosing folders. If you uncheck this option it should include/exclude only the root of the parent folder and skip any subfolders inside. Quote Link to comment Share on other sites More sharing options...
curioffl Posted November 12, 2010 Author Report Share Posted November 12, 2010 Okay but I'm not sure on the logic here. If I define I:\data\ as a Volume. And then make a script that backs up that Volume, if I make an "exclude" rule to exclude sub-folders, that exclude rule has to exclude something in and of itself right? So I could only exclude I:\data\ AND its sub-folders or not (which is not what I want because I want the contents of I:\data\). I'm not sure at all on the logic of Include because I think if I point a script at I:\data\ it will include everything anyway. If I point a script at I:\data\ and say "include" I:\data\ but "exclude" I:\data\* and all sub-folders, retrospect backs up nothing. If I define I:\ as the volume I'm in the same problem (I think) of needing to know what all of the sub-folders will be in order to exclude them (they change). I'm sure I'm missing something obvious here and apologize for my ignorance. C Quote Link to comment Share on other sites More sharing options...
Daniels Posted November 12, 2010 Report Share Posted November 12, 2010 If I follow your logic correctly your rule will only use the include section with folder(volume) name is I:\data(volume name) not including enclosing folders If done correctly it should only back up the root of I:\data skipping over all subfolders. Quote Link to comment Share on other sites More sharing options...
curioffl Posted November 12, 2010 Author Report Share Posted November 12, 2010 It doesn't though. I think because you "exclude something and all of its subfolders", not "exclude only its subfolders" (which is what I'm trying to do). (Maybe I mistyped something, etc. But that's what I thought would do it but my backup was 0-files.) C Quote Link to comment Share on other sites More sharing options...
Lennart_T Posted November 13, 2010 Report Share Posted November 13, 2010 Although I haven't tried it myself, I would do something like this: Make a copy of "All files except cache files" (for instance). Click on the "+" under Include. Set up like attached picture 1. Notice that "Include enclosed folders" is not checked. Add the other files and folders on the volume, click on the "+" under the rule you just added. Set up like attached picture 2. It should look like attached picture 3. Hope this helps. Quote Link to comment Share on other sites More sharing options...
Daniels Posted November 15, 2010 Report Share Posted November 15, 2010 Do not use the exclude section and put the following in the include section: folder(volume) name is I:\data(volume name) not including enclosing folders Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.