BackupPC-users

Re: [BackupPC-users] The parameter BackupFilesExclude is not recognized

2008-07-22 11:38:28
Subject: Re: [BackupPC-users] The parameter BackupFilesExclude is not recognized
From: Frédéric Massot <frederic AT juliana-multimedia DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Tue, 22 Jul 2008 17:38:07 +0200
Kurt Tunkko a écrit :
> Frédéric Massot wrote:
> 
>> The parameter exclude is not in the command line of rsync.
> 
> 1) Have you made any modifications of /etc/backuppc/config.pl

I do not have changed a global settings. Here is the long config.pl:

$ENV{'PATH'} = '/bin:/usr/bin';
delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
$Conf{ServerHost} = 'backuppc';
chomp($Conf{ServerHost});
$Conf{ServerPort} = '-1';
$Conf{ServerMesgSecret} = '';
$Conf{MyPath} = '/bin';
$Conf{UmaskMode} = '23';
$Conf{WakeupSchedule} = [
   '1',
   '2',
   '3',
   '4',
   '5',
   '6',
   '7',
   '8',
   '9',
   '10',
   '11',
   '12',
   '13',
   '14',
   '15',
   '16',
   '17',
   '18',
   '19',
   '20',
   '21',
   '22',
   '23'
];
$Conf{MaxBackups} = '4';
$Conf{MaxUserBackups} = '4';
$Conf{MaxPendingCmds} = '10';
$Conf{MaxBackupPCNightlyJobs} = '2';
$Conf{BackupPCNightlyPeriod} = '1';
$Conf{MaxOldLogFiles} = '14';
$Conf{DfPath} = '/bin/df';
$Conf{DfCmd} = '$dfPath $topDir';
$Conf{SplitPath} = '/usr/bin/split';
$Conf{ParPath} = '/usr/bin/par2';
$Conf{CatPath} = '/bin/cat';
$Conf{GzipPath} = '/bin/gzip';
$Conf{Bzip2Path} = '/bin/bzip2';
$Conf{DfMaxUsagePct} = '95';
$Conf{TrashCleanSleepSec} = '300';
$Conf{DHCPAddressRanges} = [];
$Conf{BackupPCUser} = 'backuppc';
$Conf{TopDir} = '/var/lib/backuppc';
$Conf{ConfDir} = '/etc/backuppc';
$Conf{LogDir} = '';
$Conf{InstallDir} = '/usr/share/backuppc';
$Conf{CgiDir} = '/usr/share/backuppc/cgi-bin';
$Conf{BackupPCUserVerify} = '1';
$Conf{HardLinkMax} = '31999';
$Conf{PerlModuleLoad} = undef;
$Conf{ServerInitdPath} = undef;
$Conf{ServerInitdStartCmd} = '';
$Conf{FullPeriod} = '6.97';
$Conf{IncrPeriod} = '0.97';
$Conf{FullKeepCnt} = [
   '1'
];
$Conf{FullKeepCntMin} = '1';
$Conf{FullAgeMax} = '90';
$Conf{IncrKeepCnt} = '6';
$Conf{IncrKeepCntMin} = '1';
$Conf{IncrAgeMax} = '30';
$Conf{IncrLevels} = [
   '1'
];
$Conf{BackupsDisable} = '0';
$Conf{PartialAgeMax} = '3';
$Conf{IncrFill} = '0';
$Conf{RestoreInfoKeepCnt} = '10';
$Conf{ArchiveInfoKeepCnt} = '10';
$Conf{BackupFilesOnly} = {};
$Conf{BackupFilesExclude} = {};
$Conf{BlackoutBadPingLimit} = '3';
$Conf{BlackoutGoodCnt} = '7';
$Conf{BlackoutPeriods} = [
   {
     'hourEnd' => '19.5',
     'weekDays' => [
       '1',
       '2',
       '3',
       '4',
       '5'
     ],
     'hourBegin' => '7'
   }
];
$Conf{BackupZeroFilesIsFatal} = '1';
$Conf{XferMethod} = 'rsync';
$Conf{XferLogLevel} = '1';
$Conf{ClientCharset} = '';
$Conf{ClientCharsetLegacy} = 'iso-8859-1';
$Conf{SmbShareName} = [
   'C$'
];
$Conf{SmbShareUserName} = '';
$Conf{SmbSharePasswd} = '';
$Conf{SmbClientPath} = '/usr/bin/smbclient';
$Conf{SmbClientFullCmd} = '$smbClientPath \\\\$host\\$shareName 
$I_option -U $userName -E -N -d 1 -c tarmode\\ full -Tc$X_option - 
$fileList';
$Conf{SmbClientIncrCmd} = '$smbClientPath \\\\$host\\$shareName 
$I_option -U $userName -E -N -d 1 -c tarmode\\ full -TcN$X_option 
$timeStampFile - $fileList';
$Conf{SmbClientRestoreCmd} = '$smbClientPath \\\\$host\\$shareName 
$I_option -U $userName -E -N -d 1 -c tarmode\\ full -Tx -';
$Conf{TarShareName} = [
   '/'
];
$Conf{TarClientCmd} = '$sshPath -q -x -n -l root $host env LC_ALL=C 
$tarPath -c -v -f - -C $shareName+ --totals';
$Conf{TarFullArgs} = '$fileList+';
$Conf{TarIncrArgs} = '--newer=$incrDate+ $fileList+';
$Conf{TarClientRestoreCmd} = '$sshPath -q -x -l root $host env LC_ALL=C 
$tarPath -x -p --numeric-owner --same-owner -v -f - -C $shareName+';
$Conf{TarClientPath} = '/bin/tar';
$Conf{RsyncClientPath} = '/usr/bin/rsync';
$Conf{RsyncClientCmd} = '$sshPath -q -x -l root $host $rsyncPath $argList+';
$Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l root $host $rsyncPath 
$argList+';
$Conf{RsyncShareName} = [
   '/'
];
$Conf{RsyncdClientPort} = '873';
$Conf{RsyncdUserName} = '';
$Conf{RsyncdPasswd} = '';
$Conf{RsyncdAuthRequired} = '1';
$Conf{RsyncCsumCacheVerifyProb} = '0.01';
$Conf{RsyncArgs} = [
   '--numeric-ids',
   '--perms',
   '--owner',
   '--group',
   '-D',
   '--links',
   '--hard-links',
   '--times',
   '--block-size=2048',
   '--recursive'
];
$Conf{RsyncRestoreArgs} = [
   '--numeric-ids',
   '--perms',
   '--owner',
   '--group',
   '-D',
   '--links',
   '--hard-links',
   '--times',
   '--block-size=2048',
   '--relative',
   '--ignore-times',
   '--recursive'
];
$Conf{BackupPCdShareName} = '/';
$Conf{BackupPCdPath} = '';
$Conf{BackupPCdCmd} = '$bpcdPath $host $shareName $poolDir XXXX 
$poolCompress $topDir/pc/$client/new';
$Conf{BackupPCdRestoreCmd} = '$bpcdPath TODO';
$Conf{ArchiveDest} = '/tmp';
$Conf{ArchiveComp} = 'gzip';
$Conf{ArchivePar} = '0';
$Conf{ArchiveSplit} = '0';
$Conf{ArchiveClientCmd} = '$Installdir/bin/BackupPC_archiveHost 
$tarCreatePath $splitpath $parpath $host $backupnumber $compression 
$compext $splitsize $archiveloc $parfile *';
$Conf{SshPath} = '/usr/bin/ssh';
$Conf{NmbLookupPath} = '/usr/bin/nmblookup';
$Conf{NmbLookupCmd} = '$nmbLookupPath -A $host';
$Conf{NmbLookupFindHostCmd} = '$nmbLookupPath $host';
$Conf{FixedIPNetBiosNameCheck} = '0';
$Conf{PingPath} = '/bin/ping';
$Conf{PingCmd} = '$pingPath -c 1 $host';
$Conf{PingMaxMsec} = '20';
$Conf{CompressLevel} = '3';
$Conf{ClientTimeout} = '72000';
$Conf{MaxOldPerPCLogFiles} = '12';
$Conf{DumpPreUserCmd} = undef;
$Conf{DumpPostUserCmd} = undef;
$Conf{DumpPreShareCmd} = undef;
$Conf{DumpPostShareCmd} = undef;
$Conf{RestorePreUserCmd} = undef;
$Conf{RestorePostUserCmd} = undef;
$Conf{ArchivePreUserCmd} = undef;
$Conf{ArchivePostUserCmd} = undef;
$Conf{UserCmdCheckStatus} = '0';
$Conf{ClientNameAlias} = undef;
$Conf{SendmailPath} = '/usr/sbin/sendmail';
$Conf{EMailNotifyMinDays} = '2.5';
$Conf{EMailFromUserName} = 'backuppc';
$Conf{EMailAdminUserName} = 'admin AT juliana-multimedia DOT com';
$Conf{EMailUserDestDomain} = '@juliana-multimedia.com';
$Conf{EMailNoBackupEverSubj} = undef;
$Conf{EMailNoBackupEverMesg} = undef;
$Conf{EMailNotifyOldBackupDays} = '7';
$Conf{EMailNoBackupRecentSubj} = undef;
$Conf{EMailNoBackupRecentMesg} = undef;
$Conf{EMailNotifyOldOutlookDays} = '5';
$Conf{EMailOutlookBackupSubj} = undef;
$Conf{EMailOutlookBackupMesg} = undef;
$Conf{EMailHeaders} = 'MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
';
$Conf{CgiAdminUserGroup} = 'backuppc';
$Conf{CgiAdminUsers} = 'backuppc fredo';
$Conf{CgiURL} = 'http://backuppc.juliana-multimedia.com/backuppc/index.cgi';
$Conf{Language} = 'fr';
$Conf{CgiUserHomePageCheck} = '';
$Conf{CgiUserUrlCreate} = 'mailto:%s AT juliana-multimedia DOT com';
$Conf{CgiDateFormatMMDD} = '2';
$Conf{CgiNavBarAdminAllHosts} = '1';
$Conf{CgiSearchBoxEnable} = '1';
$Conf{CgiNavBarLinks} = [
   {
     'link' => '?action=view&type=docs',
     'lname' => 'Documentation',
     'name' => undef
   },
   {
     'link' => 'http://backuppc.wiki.sourceforge.net',
     'lname' => undef,
     'name' => 'Wiki'
   },
   {
     'link' => 'http://backuppc.sourceforge.net',
     'lname' => undef,
     'name' => 'SourceForge'
   }
];
$Conf{CgiStatusHilightColor} = {
   'Reason_backup_failed' => '#ffcccc',
   'Reason_backup_done' => '#ccffcc',
   'Reason_backup_canceled_by_user' => '#ff9900',
   'Reason_no_ping' => '#ffff99',
   'Disabled_OnlyManualBackups' => '#d1d1d1',
   'Status_backup_in_progress' => '#66cc99',
   'Disabled_AllBackupsDisabled' => '#d1d1d1'
};
$Conf{CgiHeaders} = '<meta http-equiv="pragma" content="no-cache">';
$Conf{CgiImageDir} = '/usr/share/backuppc/image';
$Conf{CgiExt2ContentType} = {};
$Conf{CgiImageDirURL} = '/backuppc/image';
$Conf{CgiCSSFile} = 'BackupPC_stnd.css';
$Conf{CgiUserConfigEditEnable} = '1';
$Conf{CgiUserConfigEdit} = {
   'EMailOutlookBackupSubj' => '1',
   'ClientCharset' => '1',
   'TarFullArgs' => '1',
   'RsyncdPasswd' => '1',
   'IncrKeepCnt' => '1',
   'PartialAgeMax' => '1',
   'FixedIPNetBiosNameCheck' => '1',
   'SmbShareUserName' => '1',
   'EMailFromUserName' => '1',
   'ArchivePreUserCmd' => '0',
   'PingCmd' => '0',
   'FullAgeMax' => '1',
   'PingMaxMsec' => '1',
   'CompressLevel' => '1',
   'DumpPreShareCmd' => '0',
   'BackupFilesOnly' => '1',
   'EMailNotifyOldBackupDays' => '1',
   'EMailAdminUserName' => '1',
   'RsyncCsumCacheVerifyProb' => '1',
   'BlackoutPeriods' => '1',
   'NmbLookupFindHostCmd' => '0',
   'MaxOldPerPCLogFiles' => '1',
   'TarClientCmd' => '0',
   'EMailNotifyOldOutlookDays' => '1',
   'SmbSharePasswd' => '1',
   'SmbClientIncrCmd' => '0',
   'FullKeepCntMin' => '1',
   'RsyncArgs' => '1',
   'ArchiveComp' => '1',
   'TarIncrArgs' => '1',
   'EMailUserDestDomain' => '1',
   'TarClientPath' => '0',
   'RsyncClientCmd' => '0',
   'IncrFill' => '1',
   'RestoreInfoKeepCnt' => '1',
   'UserCmdCheckStatus' => '0',
   'RsyncdClientPort' => '1',
   'IncrAgeMax' => '1',
   'RsyncdUserName' => '1',
   'RsyncRestoreArgs' => '1',
   'ClientCharsetLegacy' => '1',
   'SmbClientFullCmd' => '0',
   'ArchiveInfoKeepCnt' => '1',
   'BackupZeroFilesIsFatal' => '1',
   'EMailNoBackupRecentMesg' => '1',
   'FullKeepCnt' => '1',
   'TarShareName' => '1',
   'EMailNoBackupEverSubj' => '1',
   'TarClientRestoreCmd' => '0',
   'EMailNoBackupRecentSubj' => '1',
   'ArchivePar' => '1',
   'XferLogLevel' => '1',
   'ArchiveDest' => '1',
   'ClientTimeout' => '1',
   'EMailNotifyMinDays' => '1',
   'RsyncdAuthRequired' => '1',
   'SmbClientRestoreCmd' => '0',
   'ClientNameAlias' => '1',
   'DumpPostShareCmd' => '0',
   'IncrLevels' => '1',
   'EMailOutlookBackupMesg' => '1',
   'BlackoutBadPingLimit' => '1',
   'BackupFilesExclude' => '1',
   'FullPeriod' => '1',
   'ArchivePostUserCmd' => '0',
   'RsyncClientRestoreCmd' => '0',
   'IncrPeriod' => '1',
   'RsyncShareName' => '1',
   'RestorePostUserCmd' => '0',
   'BlackoutGoodCnt' => '1',
   'ArchiveClientCmd' => '0',
   'ArchiveSplit' => '1',
   'XferMethod' => '1',
   'NmbLookupCmd' => '0',
   'BackupsDisable' => '1',
   'SmbShareName' => '1',
   'RestorePreUserCmd' => '0',
   'IncrKeepCntMin' => '1',
   'EMailNoBackupEverMesg' => '1',
   'EMailHeaders' => '1',
   'DumpPreUserCmd' => '0',
   'RsyncClientPath' => '0',
   'DumpPostUserCmd' => '0'
};



> 2) which rsync version are you using?

The Debian rsync package 3.0.3-1

-- 
==============================================
|              FRÉDÉRIC MASSOT               |
|     http://www.juliana-multimedia.com      |
|   mailto:frederic AT juliana-multimedia DOT com   |
===========================Debian=GNU/Linux===

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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/

<Prev in Thread] Current Thread [Next in Thread>