[BackupPC-users] Issues with Include and Exclude for a SMB backup
Hi, I am trying to ensure that I only back up certain directories on my laptop, which is done via SMB. However, the include and exclude just don't appear to be working at all. For the sake of discussion let's say that the SMB share is MyLaptop/Users. Underneath Users on this laptop I have the following directories: Default, dwilliams and Public. My Includes and Excludes are as follows: When a backup finishes everything in the excludes section is getting backed up, and several items from the include are not getting backed up. Any help would be much appreciated as there are a couple of important directories under dwilliams that I want to ensure get backed up. -- Dave Williams -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Issues with Include and Exclude for a SMB backup
Ok, so I removed the BackupFilesExclude and still it is backing up directories that are not in the include list, and also not backing up some directories that are in the include list! Obviously I am doing something wrong, but not sure what! Dave Williams On 10/11/2013 2:32 PM, Les Mikesell wrote: On Fri, Oct 11, 2013 at 12:57 PM, David Williams dwilli...@dtw-consulting.com wrote: Hi, I am trying to ensure that I only back up certain directories on my laptop, which is done via SMB. However, the include and exclude just don't appear to be working at all. Per http://backuppc.sourceforge.net/faq/BackupPC.html#_conf_backupfilesexclude_ "For Smb, only one of $Conf{BackupFilesExclude} and $Conf{BackupFilesOnly} can be specified per share." The smbtar client just doesn't have a way to handle both. You'll either have to arrange top level shares for the things you want to include or install cygwin rsync on the PC so you can use the full syntax. -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Issues with Include and Exclude for a SMB backup
On 10/11/2013 3:27 PM, David Williams wrote: Ok, so I removed the BackupFilesExclude and still it is backing up directories that are not in the include list, and also not backing up some directories that are in the include list! Obviously I am doing something wrong, but not sure what! You have specified the inclusions incorrectly. BPC should be backing up everything based on this since you have not actually specified anything for your "Users" share. The first entry in the BackupFilesOnly (the key) should be the sharename, "Users". After you add that, use the buttons to the right to add the directories you want to backup within that share. -- Bowie -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Issues with Include and Exclude for a SMB backup
Bowie Bailey bowie_bai...@buc.com wrote on 10/11/2013 03:38:29 PM: The first entry in the BackupFilesOnly (the key) should be the sharename, Users. After you add that, use the buttons to the right to add the directories you want to backup within that share. Or, if there's only one share, you could use * for the key. That's usually what I do even with more than one share because the things I'm excluding are things like Documents and Settings or ProgramData or something like that, which is very unlikely to be on more than one of my shares for a host. And that way I avoid the problem you're having! :) Tim Massey Out of the Box Solutions, Inc. Creative IT Solutions Made Simple! http://www.OutOfTheBoxSolutions.com tmas...@obscorp.com 22108 Harper Ave. St. Clair Shores, MI 48080 Office: (800)750-4OBS (4627) Cell: (586)945-8796 -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/