On 8/19/2014 12:39 PM, Michael Stowe wrote:
>> hi,
>>
>> on Ubuntu 12.04, BackupPC 3.3.0
>>
>> $Conf{RsyncShareName} = [
>> '/data',
>> '/raid'
>> ];
>> $Conf{ClientTimeout} = 720000;
>> $Conf{BackupFilesExclude} = {
>> '*' => [
>> '/mnt',
>> '/net',
>> '/tmp',
>> '/proc',
>> '/sys',
>> '/dev',
>> '/run',
>> '/*/data/WBM_spool',
>> '/*/data/EPSCoR/WBM/WBM_spool',
>> '/*/data/WBM/WBM_Spool'
>> ]
>> };
>>
>>
>> It still backups WBM_Spool, I have also tried this in the exclude list:
>>
>> '/raid/data/WBM/WBM_Spool'
>>
>> Is the backup of /data overriding the exclude?
>>
>> Mark
>>
>> --
> I'm not sure what you mean by overriding the exclude (do you have includes
> you're not listing?) but this exclusion should be working for:
>
> /data/*/data/WBM/WBM_Spool
> /raid/*/data/WBM/WBM_Spool
>
> Note that this wouldn't include
>
> /raid/data/WBM/WBM_Spool
>
> Nor would '/raid/data/WBM/WBM_Spool', which would exclude
>
> /data/raid/data/WBM/WBM_Spool
> /raid/raid/data/WBM/WBM_Spool
>
> Note that I'm assuming that your rsync modules point to their root-based
> equivalents in the filesystem. You can, of course, point them anywhere.
>
> At any rate, if your goal is to exclude '/raid/data/WBM/WBM_Spool' then
> the correct exclude to use is:
>
> $Conf{BackupFilesExclude} = {
> '/raid' => [
> '/data/WBM_Spool',
> ]
> };
>
> You can replace '/raid' with a wildcard, or any part of '/data/WBM_Spool',
> but note that if you add extra wildcards and slashes, it probably won't
> match the directory you wish to exclude.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> 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/
>
hi,
Those were all of my includes just /raid and /data.
I will update the configuration to your suggestion
$Conf{BackupFilesExclude} = {
'/raid' => [
'/data/WBM_Spool',
]
};
I should be able to check the log file before the work day is out and
make sure it is working.
Thank you.
Mark
--
Mark Maciolek
Network Administrator
Morse Hall Room 339
603-862-3050
https://www.unh.edu/research/support-units/research-computing-center
---
This email is free from viruses and malware because avast! Antivirus protection
is active.
http://www.avast.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/
|