Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $Conf{ServerHost} = 'b01';
- $Conf{ServerPort} = -1;
- $Conf{ServerMesgSecret} = '';
- $Conf{MyPath} = '/bin';
- $Conf{UmaskMode} = 027;
- $Conf{WakeupSchedule} = [12, 23, 24, 1, 2, 3, 4, 5, 6, 7];
- $Conf{PoolV3Enabled} = 0;
- $Conf{MaxBackups} = 4;
- $Conf{MaxUserBackups} = 4;
- $Conf{MaxPendingCmds} = 15;
- $Conf{CmdQueueNice} = 10;
- $Conf{MaxBackupPCNightlyJobs} = 2;
- $Conf{BackupPCNightlyPeriod} = 1;
- $Conf{PoolSizeNightlyUpdatePeriod} = 16;
- $Conf{MaxOldLogFiles} = 14;
- $Conf{DfPath} = '/bin/df';
- $Conf{DfCmd} = '$dfPath $topDir';
- $Conf{SplitPath} = '/usr/bin/split';
- $Conf{ParPath} = '';
- $Conf{CatPath} = '/bin/cat';
- $Conf{GzipPath} = '/bin/gzip';
- $Conf{Bzip2Path} = '/bin/bzip2';
- $Conf{DfMaxUsagePct} = 99;
- $Conf{DHCPAddressRanges} = [];
- $Conf{BackupPCUser} = 'backuppc';
- $Conf{TopDir} = '/var/backups/backuppc';
- $Conf{ConfDir} = '/etc/BackupPC';
- $Conf{LogDir} = '/var/log/BackupPC';
- $Conf{RunDir} = '/var/run/BackupPC';
- $Conf{InstallDir} = '/usr/local/BackupPC';
- $Conf{CgiDir} = '/usr/lib/cgi-bin';
- $Conf{BackupPCUserVerify} = 1;
- $Conf{HardLinkMax} = 31999;
- $Conf{PerlModuleLoad} = undef;
- $Conf{ServerInitdPath} = '';
- $Conf{ServerInitdStartCmd} = '';
- $Conf{FullPeriod} = 27.97;
- $Conf{IncrPeriod} = 0.97;
- $Conf{FillCycle} = 0;
- $Conf{FullKeepCnt} = 1;
- $Conf{FullKeepCntMin} = 1;
- $Conf{FullAgeMax} = 60;
- $Conf{IncrKeepCnt} = 31;
- $Conf{IncrKeepCntMin} = 7;
- $Conf{IncrAgeMax} = 35;
- $Conf{BackupsDisable} = 0;
- $Conf{RestoreInfoKeepCnt} = 10;
- $Conf{ArchiveInfoKeepCnt} = 10;
- $Conf{BackupFilesOnly} = undef;
- $Conf{BackupFilesExclude} = ['/proc', '/sys', 'tmp/', '/var/cache', '/var/log/lastlog', '/var/log/rsync*', '/var/lib/mlocate', '/var/spool', '/media', '/mnt'];
- $Conf{BlackoutBadPingLimit} = 3;
- $Conf{BlackoutGoodCnt} = 7;
- $Conf{BlackoutPeriods} = [
- ];
- $Conf{BackupZeroFilesIsFatal} = 1;
- $Conf{XferMethod} = 'rsyncd';
- $Conf{XferLogLevel} = 1;
- $Conf{ClientCharset} = '';
- $Conf{ClientCharsetLegacy} = 'iso-8859-1';
- $Conf{SmbShareName} = 'C$';
- $Conf{SmbShareUserName} = '';
- $Conf{SmbSharePasswd} = '';
- $Conf{SmbClientPath} = '';
- $Conf{SmbClientFullCmd} = '$smbClientPath \\\\$host\\$shareName'
- . ' $I_option -U $userName -E -d 1'
- . ' -c tarmode\\ full -Tc$X_option - $fileList';
- $Conf{SmbClientIncrCmd} = '$smbClientPath \\\\$host\\$shareName'
- . ' $I_option -U $userName -E -d 1'
- . ' -c tarmode\\ full -TcN$X_option $timeStampFile - $fileList';
- $Conf{SmbClientRestoreCmd} = '$smbClientPath \\\\$host\\$shareName'
- . ' $I_option -U $userName -E -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} = '';
- $Conf{RsyncBackupPCPath} = "/usr/local/bin/rsync_bpc";
- $Conf{RsyncSshArgs} = [
- '-e', '$sshPath -l root',
- ];
- $Conf{RsyncShareName} = 'full';
- $Conf{RsyncdClientPort} = 873;
- $Conf{RsyncdUserName} = 'x';
- $Conf{RsyncdPasswd} = '';
- $Conf{RsyncFullArgsExtra} = [
- '--checksum',
- ];
- $Conf{RsyncArgs} = [
- '--super',
- '--recursive',
- '--protect-args',
- '--numeric-ids',
- '--perms',
- '--owner',
- '--group',
- '-D',
- '--times',
- '--links',
- '--hard-links',
- '--delete',
- '--partial',
- '--log-format=log: %o %i %B %8U,%8G %9l %f%L',
- '--stats',
- #
- # Add additional arguments here, for example --acls or --xattrs
- # if all the clients support them.
- #
- #'--acls',
- #'--xattrs',
- ];
- $Conf{RsyncArgsExtra} = [];
- $Conf{RsyncRestoreArgs} = [
- '--recursive',
- '--super',
- '--protect-args',
- '--numeric-ids',
- '--perms',
- '--owner',
- '--group',
- '-D',
- '--times',
- '--links',
- '--hard-links',
- '--delete',
- '--partial',
- '--log-format=log: %o %i %B %8U,%8G %9l %f%L',
- '--stats',
- #
- # Add additional arguments here
- #
- #'--acls',
- #'--xattrs',
- ];
- $Conf{FtpShareName} = '';
- $Conf{FtpUserName} = '';
- $Conf{FtpPasswd} = '';
- $Conf{FtpPassive} = 1;
- $Conf{FtpBlockSize} = 10240;
- $Conf{FtpPort} = 21;
- $Conf{FtpTimeout} = 120;
- $Conf{FtpFollowSymlinks} = 0;
- $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} = '';
- $Conf{NmbLookupCmd} = '$nmbLookupPath -A $host';
- $Conf{NmbLookupFindHostCmd} = '$nmbLookupPath $host';
- $Conf{FixedIPNetBiosNameCheck} = 0;
- $Conf{PingPath} = '/bin/ping';
- $Conf{PingCmd} = '$pingPath -c 1 -w 3 $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} = 'backuppc';
- $Conf{EMailUserDestDomain} = '';
- $Conf{EMailNoBackupEverSubj} = undef;
- $Conf{EMailNoBackupEverMesg} = undef;
- $Conf{EMailNotifyOldBackupDays} = 7.0;
- $Conf{EMailNoBackupRecentSubj} = undef;
- $Conf{EMailNoBackupRecentMesg} = undef;
- $Conf{EMailNotifyOldOutlookDays} = 5.0;
- $Conf{EMailOutlookBackupSubj} = undef;
- $Conf{EMailOutlookBackupMesg} = undef;
- $Conf{EMailHeaders} = <<EOF;
- MIME-Version: 1.0
- Content-Type: text/plain; charset="utf-8"
- EOF
- $Conf{CgiAdminUserGroup} = '';
- $Conf{CgiAdminUsers} = '';
- $Conf{SCGIServerPort} = -1;
- $Conf{CgiURL} = 'http://b01/cgi-bin/BackupPC_Admin';
- $Conf{RrdToolPath} = '';
- $Conf{Language} = 'en';
- $Conf{CgiUserHomePageCheck} = '';
- $Conf{CgiUserUrlCreate} = 'mailto:%s';
- $Conf{CgiDateFormatMMDD} = 1;
- $Conf{CgiNavBarAdminAllHosts} = 1;
- $Conf{CgiSearchBoxEnable} = 1;
- $Conf{CgiNavBarLinks} = [
- {
- link => "?action=view&type=docs",
- lname => "Documentation", # actually displays $Lang->{Documentation}
- },
- {
- link => "http://backuppc.wiki.sourceforge.net",
- name => "Wiki", # displays literal "Wiki"
- },
- {
- link => "http://backuppc.sourceforge.net",
- name => "SourceForge", # displays literal "SourceForge"
- },
- ];
- $Conf{CgiStatusHilightColor} = {
- Reason_backup_failed => '#ffcccc',
- Reason_backup_done => '#ccffcc',
- Reason_no_ping => '#ffff99',
- Reason_backup_canceled_by_user => '#ff9900',
- Status_backup_in_progress => '#66cc99',
- Disabled_OnlyManualBackups => '#d1d1d1',
- Disabled_AllBackupsDisabled => '#d1d1d1',
- };
- $Conf{CgiHeaders} = '<meta http-equiv="pragma" content="no-cache">';
- $Conf{CgiImageDir} = '/var/www/images';
- $Conf{CgiExt2ContentType} = { };
- $Conf{CgiImageDirURL} = '/images';
- $Conf{CgiCSSFile} = 'BackupPC_stnd.css';
- $Conf{CgiUserConfigEditEnable} = 1;
- $Conf{CgiUserConfigEdit} = {
- FullPeriod => 1,
- IncrPeriod => 1,
- FillCycle => 1,
- FullKeepCnt => 1,
- FullKeepCntMin => 1,
- FullAgeMax => 1,
- IncrKeepCnt => 1,
- IncrKeepCntMin => 1,
- IncrAgeMax => 1,
- RestoreInfoKeepCnt => 1,
- ArchiveInfoKeepCnt => 1,
- BackupFilesOnly => 1,
- BackupFilesExclude => 1,
- BackupsDisable => 1,
- BlackoutBadPingLimit => 1,
- BlackoutGoodCnt => 1,
- BlackoutPeriods => 1,
- BackupZeroFilesIsFatal => 1,
- ClientCharset => 1,
- ClientCharsetLegacy => 1,
- XferMethod => 1,
- XferLogLevel => 1,
- SmbShareName => 1,
- SmbShareUserName => 1,
- SmbSharePasswd => 1,
- SmbClientFullCmd => 0,
- SmbClientIncrCmd => 0,
- SmbClientRestoreCmd => 0,
- TarShareName => 1,
- TarFullArgs => 1,
- TarIncrArgs => 1,
- TarClientCmd => 0,
- TarClientRestoreCmd => 0,
- TarClientPath => 0,
- RsyncShareName => 1,
- RsyncdClientPort => 1,
- RsyncdPasswd => 1,
- RsyncdUserName => 1,
- RsyncdAuthRequired => 1,
- RsyncArgs => 1,
- RsyncArgsExtra => 1,
- RsyncFullArgsExtra => 1,
- RsyncSshArgs => 1,
- RsyncRestoreArgs => 1,
- RsyncClientPath => 0,
- FtpShareName => 1,
- FtpUserName => 1,
- FtpPasswd => 1,
- FtpBlockSize => 1,
- FtpPort => 1,
- FtpTimeout => 1,
- FtpFollowSymlinks => 1,
- FtpRestoreEnabled => 1,
- ArchiveDest => 1,
- ArchiveComp => 1,
- ArchivePar => 1,
- ArchiveSplit => 1,
- ArchiveClientCmd => 0,
- FixedIPNetBiosNameCheck => 1,
- NmbLookupCmd => 0,
- NmbLookupFindHostCmd => 0,
- PingMaxMsec => 1,
- PingCmd => 0,
- ClientTimeout => 1,
- MaxOldPerPCLogFiles => 1,
- CompressLevel => 1,
- ClientNameAlias => 1,
- DumpPreUserCmd => 0,
- DumpPostUserCmd => 0,
- RestorePreUserCmd => 0,
- RestorePostUserCmd => 0,
- ArchivePreUserCmd => 0,
- ArchivePostUserCmd => 0,
- DumpPostShareCmd => 0,
- DumpPreShareCmd => 0,
- UserCmdCheckStatus => 0,
- EMailNotifyMinDays => 1,
- EMailFromUserName => 1,
- EMailAdminUserName => 1,
- EMailUserDestDomain => 1,
- EMailNoBackupEverSubj => 1,
- EMailNoBackupEverMesg => 1,
- EMailNotifyOldBackupDays => 1,
- EMailNoBackupRecentSubj => 1,
- EMailNoBackupRecentMesg => 1,
- EMailNotifyOldOutlookDays => 1,
- EMailOutlookBackupSubj => 1,
- EMailOutlookBackupMesg => 1,
- EMailHeaders => 1,
- };
Advertisement
Add Comment
Please, Sign In to add comment