BackupPC-users

Re: [BackupPC-users] help with BackupFilesExclude

2008-12-05 13:26:13
Subject: Re: [BackupPC-users] help with BackupFilesExclude
From: "Nick Smith" <nick.smith79 AT gmail DOT com>
To: Matthias.Meyer AT gmx DOT li, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Fri, 5 Dec 2008 13:24:01 -0500
>
> 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?
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?

Thanks for your help

------------------------------------------------------------------------------
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/