Christian writes:
> I'm having some issues with excluding directories.
>
> If have the following settings in the host.pl:
> =============================snip===========
> $Conf{RsyncShareName} = [
> '/',
> '/srv'
> ];
> $Conf{BackupFilesExclude} = {
> 'srv' => [
> 'file1',
> '/bu'
> ]
> };
You have a typo. The share name is "/srv", not "srv", so you need:
$Conf{BackupFilesExclude} = {
'/srv' => [
'file1',
'/bu'
]
Also, you are excluding files below "/srv", but not "/". You need
to either restrict rsync with --one-file-system or exclude /srv
under "/".
Craig
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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/
|