Carl Wilhelm Soderstrom wrote: > On 08/26 12:57 , Osburn, Michael wrote: >> I am trying to backup my backuppc server while excluding the backups >> directory. No matter what I put under excludes in the config, I still >> end up with the cpool and pc directories in my backups. > > You misunderstand the exclude syntax. Here's an example for a (SMB) share > named 'c$': > > $Conf{BackupFilesExclude} = { > 'c$' => [ > '/RECYCLER', > '/winnt/tmp', > '/temp', > '/WUTemp', > '/WINDOWS', > '/Documents and Settings/*/Local Settings/Temporary Internet Files/', > '/Documents and Settings/*/Local Settings/history/', > '/Documents and Settings/*/Cookies/', > '/Documents and Settings/*/Favorites/', > '/Documents and Settings/*/IETldCache/', > '/Documents and Settings/*/IECompatCache/', > '/Documents and Settings/*/NetHood/', > '/Documents and Settings/*/PrivacIE/', > '/Documents and Settings/*/PrintHood/', > '/pagefile.sys', > '/hiberfil.sys', > ] > }; > hmm ... I'm having some problems with smb-tar excludes, too (my first smb client because of never ending VISTA 64-bit related issues with DeltaCopy and/or cygwin-rsyncd) and I read on: http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=Smb_exclude
> 1. Backslashes (\) seem to be the only effective way to get smbclient to > correctly exclude files. > 2. Subfolders need to be followed by a \* to be correctly excluded. > 3. Files off of the root of the share need to be prepended by an extra > backslash to be correctly excluded. > 4. Folders off of the root of the share need to be prepended by an extra > backslash to be correctly excluded. Maybe I should try it your way then ... ;-) Bernhard ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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/