Re: [BackupPC-users] Excludes not working
2009-08-26 15:31:58
Osburn, Michael wrote:
>
> Greetings all,
>
> I apoligize in advance if this has been beaten to death, by my search
> foo is failing me today.
>
> I am trying to backup my backuppc server while excluding the backups
> directory. No matter what I put under excludes in the config, I still
> end up with the cpool and pc directories in my backups. Here is the
> config files relevent to this host and a break down of the structure.
> Any help would be appreciated.
>
> /var/lib/backuppc -> /data/backup (symbolic link)
>
> cat /etc/backuppc/pc/backupserv1.pl
> $Conf{RsyncClientCmd} = '$sshPath -q -x -l backuppc $host sudo
> $rsyncPath $argLi
> $Conf{XferLogLevel} = '10000000000';
> $Conf{BackupFilesOnly} = {};
> $Conf{BackupFilesExclude} = {
> '/selinux/*' => [
> ''
> ],
> '/dev/*' => [
> ''
> ],
> '/var/lib/backuppc' => [
> ''
> ],
> 'data' => [
> ''
> ],
> '/data/*' => [
> ''
> ],
> '/proc/*' => [
> ''
> ]
> };
>
>
>
Try this instead:
============================
$Conf{BackupFilesExclude} = {
'*' => [ '/selinux/*',
'/dev/*',
'/var/lib/backuppc',
'data',
'/data/*',
'/proc/*'
]
};
============================
This will apply to all shares. If you want to be specific, replace the
'*' with the share name.
--
Bowie
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
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/
|
|
|