BackupPC-users

Re: [BackupPC-users] help with BackupFilesExclude

2008-12-05 13:42:10
Subject: Re: [BackupPC-users] help with BackupFilesExclude
From: Matthias Meyer <Matthias.Meyer AT gmx DOT li>
To: backuppc-users AT lists.sourceforge DOT net
Date: Fri, 05 Dec 2008 19:37:37 +0100
Nick Smith wrote:

>>
>> I declare the exclude list within the GUI of backuppc.
>>
>> Declare the "RsyncShareName" in the same manner as they are declared in
>> your rsyncd.conf in your windows client.
>> Define BackupFilesExclude:
>> NewKey = "*" if it should applicable to all RsyncShareName or the
>> RsyncShareName to which it should applicable.
>> Within the Key you can add the directories relativ to the RsyncShareName
>> in Linux syntax.
>> e.g.:
>> $Conf{RsyncShareName} = [
>>  'D',
>>  'C'
>> ];
>> $Conf{BackupFilesExclude} = {
>>  'C' => [
>>    '/WINDOWS/Downloaded Program Files',
>>    '/WINDOWS/Offline Web Pages',
>>    '/WINDOWS/Temp',
>>    '/WINDOWS*.log',
>>    '/proc'
>>  ],
>>  '*' => [
>>    'pagefile.sys',
>>    'hiberfil.sys',
>>    '/System Volume Information',
>>    '/RECYCLER',
>>    '/$Recycle.bin',
>>    '/$RECYCLE.BIN',
>>    '/proc',
>>    '/Windows',
>>    'Temporary*',
>>    '/Program Files'
>>  ]
>> };
>>
>> br
>> Matthias
>> --
>> Don't panic
> 
> Can you add files like this the same way you can if you create a
> "--exclude-from=filter.txt" in the RsyncArgs?

I didn't have any experience with --exclude-from.

> For instance, if you create the file filter.txt and had the lines:
> + *.jpg
> + *.JPG
> + */
> - *
> It would add the files *.jpg and not exclude them  (since
> backuponlyfiles has limitations) and then it would exclude everything
> else (-*)
> 
> So in your example, would it work if i put:
> + '/Program Files'
> to include the program files directory and not exclude it?

Include files by BackupFilesOnly should also work. Just give it a try :-)

> 
> Thanks for your help
> 
you are welcome
br
Matthias
-- 
Don't panic


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/