Nick Bright wrote:
> In my /etc/BackupPC/pc/host.pl file, I have the
> $Conf{BackupFilesExclude} directive configured as:
>
> $Conf{BackupFilesExclude} = {
> '/usr/local/vpopmail/domains' => [
> ''
> ],
> '/usr/local/MPP/working' => [
> ''
> ],
> '/proc' => [
> ''
> ],
> '/var/qmail/queue' => [
> ''
> ],
> '/backup' => [
> ''
> ]
> };
>
> This was configured through the web interface, on BackupPC v3.1.0.
> Backup method is "rsync".
>
> The backup runs, but it disregards my exclude directives and backs up
> the directories I'm telling it not to back up. Unfortunately, because of
> the first exclude line not being excluded, this is making the backup
> take about 20 hours to run!
>
> Any thoughts as to why these directories aren't being excluded?
Perhaps I have my understanding of of BackupPC's exclude files, but I
have mine as follows, and I think things are relative to the path, or
something of the sort. I had problems with mine too when I had
"/var/cache" on one line. When I made it look like the following, it worked.
$Conf{BackupFilesExclude} = {
'/var' => [
'/cache'
]
};
So, perhaps try:
$Conf{BackupFilesExclude} = {
'/usr/local/vpopmail' => [
'/domains'
],
'/usr/local/MPP/' => [
'/working'
],
'/proc' => [
''
],
'/var/qmail' => [
'/queue'
],
'/backup' => [
''
]
};
Regards,
Max
------------------------------------------------------------------------------
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/
|