Guest User

Untitled

a guest
Jun 13th, 2016
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 9.35 KB | None | 0 0
  1. $Conf{ServerHost} = 'backuppc';
  2. $Conf{ServerPort} = -1;
  3. $Conf{ServerMesgSecret} = '<secret-message-removed>';
  4. $Conf{MyPath} = '/bin';
  5. $Conf{UmaskMode} = 23;
  6. $Conf{WakeupSchedule} = [
  7.   1,
  8.   2,
  9.   3,
  10.   4,
  11.   5,
  12.   6,
  13.   7,
  14.   8,
  15.   9,
  16.   10,
  17.   11,
  18.   12,
  19.   13,
  20.   14,
  21.   15,
  22.   16,
  23.   17,
  24.   18,
  25.   19,
  26.   20,
  27.   21,
  28.   22,
  29.   23
  30. ];
  31. $Conf{MaxBackups} = 4;
  32. $Conf{MaxUserBackups} = 4;
  33. $Conf{MaxPendingCmds} = 15;
  34. $Conf{CmdQueueNice} = 10;
  35. $Conf{MaxBackupPCNightlyJobs} = 2;
  36. $Conf{BackupPCNightlyPeriod} = 1;
  37. $Conf{MaxOldLogFiles} = 14;
  38. $Conf{DfPath} = '/usr/bin/df';
  39. $Conf{DfCmd} = '$dfPath $topDir';
  40. $Conf{SplitPath} = '/usr/bin/split';
  41. $Conf{ParPath} = undef;
  42. $Conf{CatPath} = '/usr/bin/cat';
  43. $Conf{GzipPath} = '/usr/bin/gzip';
  44. $Conf{Bzip2Path} = '/usr/bin/bzip2';
  45. $Conf{DfMaxUsagePct} = 95;
  46. $Conf{TrashCleanSleepSec} = 300;
  47. $Conf{DHCPAddressRanges} = [];
  48. $Conf{BackupPCUser} = 'backuppc';
  49. $Conf{TopDir} = '/var/lib/BackupPC/';
  50. $Conf{ConfDir} = '/etc/BackupPC/';
  51. $Conf{LogDir} = '/var/log/BackupPC';
  52. $Conf{InstallDir} = '/usr/share/BackupPC';
  53. $Conf{CgiDir} = '/usr/share/BackupPC/sbin/';
  54. $Conf{BackupPCUserVerify} = '1';
  55. $Conf{HardLinkMax} = 31999;
  56. $Conf{PerlModuleLoad} = undef;
  57. $Conf{ServerInitdPath} = undef;
  58. $Conf{ServerInitdStartCmd} = '';
  59. $Conf{FullPeriod} = '6.97';
  60. $Conf{IncrPeriod} = '0.97';
  61. $Conf{FullKeepCnt} = [
  62.   1
  63. ];
  64. $Conf{FullKeepCntMin} = 1;
  65. $Conf{FullAgeMax} = 90;
  66. $Conf{IncrKeepCnt} = 14;
  67. $Conf{IncrKeepCntMin} = 1;
  68. $Conf{IncrAgeMax} = 30;
  69. $Conf{IncrLevels} = [
  70.   1
  71. ];
  72. $Conf{BackupsDisable} = 0;
  73. $Conf{PartialAgeMax} = 3;
  74. $Conf{IncrFill} = '0';
  75. $Conf{RestoreInfoKeepCnt} = 10;
  76. $Conf{ArchiveInfoKeepCnt} = 10;
  77. $Conf{BackupFilesOnly} = {};
  78. $Conf{BackupFilesExclude} = {
  79.   '*' => [
  80.     '/dev/',
  81.     '/proc/',
  82.     '/mnt/',
  83.     '/sys/'
  84.   ]
  85. };
  86. $Conf{BlackoutBadPingLimit} = 3;
  87. $Conf{BlackoutGoodCnt} = 7;
  88. $Conf{BlackoutPeriods} = [
  89.   {
  90.     'hourEnd' => '19.5',
  91.     'weekDays' => [
  92.       1,
  93.       2,
  94.       3,
  95.       4,
  96.       5
  97.     ],
  98.     'hourBegin' => 7
  99.   }
  100. ];
  101. $Conf{BackupZeroFilesIsFatal} = '1';
  102. $Conf{XferMethod} = 'rsync';
  103. $Conf{XferLogLevel} = 2;
  104. $Conf{ClientCharset} = '';
  105. $Conf{ClientCharsetLegacy} = 'iso-8859-1';
  106. $Conf{SmbShareName} = [
  107.   'C$'
  108. ];
  109. $Conf{SmbShareUserName} = '';
  110. $Conf{SmbSharePasswd} = '';
  111. $Conf{SmbClientPath} = '/usr/bin/smbclient';
  112. $Conf{SmbClientFullCmd} = '$smbClientPath \\\\$host\\$shareName $I_option -U $userName -E -d 1 -c tarmode\\ full -Tc$X_option - $fileList';
  113. $Conf{SmbClientIncrCmd} = '$smbClientPath \\\\$host\\$shareName $I_option -U $userName -E -d 1 -c tarmode\\ full -TcN$X_option $timeStampFile - $fileList';
  114. $Conf{SmbClientRestoreCmd} = '$smbClientPath \\\\$host\\$shareName $I_option -U $userName -E -d 1 -c tarmode\\ full -Tx -';
  115. $Conf{TarShareName} = [
  116.   '/'
  117. ];
  118. $Conf{TarClientCmd} = '/usr/bin/sudo $tarPath -c -v -f - -C $shareName+ --totals';
  119. $Conf{TarFullArgs} = '$fileList+';
  120. $Conf{TarIncrArgs} = '--newer=$incrDate+ $fileList+';
  121. $Conf{TarClientRestoreCmd} = '$sshPath -q -x -l root $host env LC_ALL=C $tarPath -x -p --numeric-owner --same-owner -v -f - -C $shareName+';
  122. $Conf{TarClientPath} = '/usr/bin/gtar';
  123. $Conf{RsyncClientPath} = '/usr/bin/rsync';
  124. $Conf{RsyncClientCmd} = '/usr/bin/sudo $rsyncPath $argList+';
  125. $Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l root $host $rsyncPath $argList+';
  126. $Conf{RsyncShareName} = [
  127.   '/'
  128. ];
  129. $Conf{RsyncdClientPort} = 873;
  130. $Conf{RsyncdUserName} = '';
  131. $Conf{RsyncdPasswd} = '';
  132. $Conf{RsyncdAuthRequired} = '1';
  133. $Conf{RsyncCsumCacheVerifyProb} = '0.01';
  134. $Conf{RsyncArgs} = [
  135.   '--numeric-ids',
  136.   '--perms',
  137.   '--owner',
  138.   '--group',
  139.   '-D',
  140.   '--links',
  141.   '--hard-links',
  142.   '--times',
  143.   '--block-size=2048',
  144.   '--recursive'
  145. ];
  146. $Conf{RsyncArgsExtra} = [];
  147. $Conf{RsyncRestoreArgs} = [
  148.   '--numeric-ids',
  149.   '--perms',
  150.   '--owner',
  151.   '--group',
  152.   '-D',
  153.   '--links',
  154.   '--hard-links',
  155.   '--times',
  156.   '--block-size=2048',
  157.   '--relative',
  158.   '--ignore-times',
  159.   '--recursive'
  160. ];
  161. $Conf{FtpShareName} = [
  162.   ''
  163. ];
  164. $Conf{FtpUserName} = '';
  165. $Conf{FtpPasswd} = '';
  166. $Conf{FtpPassive} = '1';
  167. $Conf{FtpBlockSize} = 10240;
  168. $Conf{FtpPort} = 21;
  169. $Conf{FtpTimeout} = 120;
  170. $Conf{FtpFollowSymlinks} = '0';
  171. $Conf{ArchiveDest} = '/tmp';
  172. $Conf{ArchiveComp} = 'gzip';
  173. $Conf{ArchivePar} = '0';
  174. $Conf{ArchiveSplit} = 0;
  175. $Conf{ArchiveClientCmd} = '$Installdir/bin/BackupPC_archiveHost $tarCreatePath $splitpath $parpath $host $backupnumber $compression $compext $splitsize $archiveloc $parfile *';
  176. $Conf{SshPath} = '/usr/bin/ssh';
  177. $Conf{NmbLookupPath} = '/usr/bin/nmblookup';
  178. $Conf{NmbLookupCmd} = '$nmbLookupPath -A $host';
  179. $Conf{NmbLookupFindHostCmd} = '$nmbLookupPath $host';
  180. $Conf{FixedIPNetBiosNameCheck} = '0';
  181. $Conf{PingPath} = '/bin/ping';
  182. $Conf{PingCmd} = '$pingPath -c 1 $host';
  183. $Conf{PingMaxMsec} = 20;
  184. $Conf{CompressLevel} = 3;
  185. $Conf{ClientTimeout} = 72000;
  186. $Conf{MaxOldPerPCLogFiles} = 12;
  187. $Conf{DumpPreUserCmd} = undef;
  188. $Conf{DumpPostUserCmd} = undef;
  189. $Conf{DumpPreShareCmd} = undef;
  190. $Conf{DumpPostShareCmd} = undef;
  191. $Conf{RestorePreUserCmd} = undef;
  192. $Conf{RestorePostUserCmd} = undef;
  193. $Conf{ArchivePreUserCmd} = undef;
  194. $Conf{ArchivePostUserCmd} = undef;
  195. $Conf{UserCmdCheckStatus} = '0';
  196. $Conf{ClientNameAlias} = undef;
  197. $Conf{SendmailPath} = undef;
  198. $Conf{EMailNotifyMinDays} = '2.5';
  199. $Conf{EMailFromUserName} = 'backuppc';
  200. $Conf{EMailAdminUserName} = 'backuppc';
  201. $Conf{EMailUserDestDomain} = '';
  202. $Conf{EMailNoBackupEverSubj} = undef;
  203. $Conf{EMailNoBackupEverMesg} = undef;
  204. $Conf{EMailNotifyOldBackupDays} = 7;
  205. $Conf{EMailNoBackupRecentSubj} = undef;
  206. $Conf{EMailNoBackupRecentMesg} = undef;
  207. $Conf{EMailNotifyOldOutlookDays} = 5;
  208. $Conf{EMailOutlookBackupSubj} = undef;
  209. $Conf{EMailOutlookBackupMesg} = undef;
  210. $Conf{EMailHeaders} = 'MIME-Version: 1.0
  211. Content-Type: text/plain; charset="utf-8"
  212. ';
  213. $Conf{CgiAdminUserGroup} = '';
  214. $Conf{CgiAdminUsers} = 'backuppc';
  215. $Conf{CgiURL} = 'http://localhost/BackupPC';
  216. $Conf{Language} = 'en';
  217. $Conf{CgiUserHomePageCheck} = '';
  218. $Conf{CgiUserUrlCreate} = 'mailto:%s';
  219. $Conf{CgiDateFormatMMDD} = 1;
  220. $Conf{CgiNavBarAdminAllHosts} = '1';
  221. $Conf{CgiSearchBoxEnable} = '1';
  222. $Conf{CgiNavBarLinks} = [
  223.   {
  224.     'link' => '?action=view&type=docs',
  225.     'lname' => 'Documentation',
  226.     'name' => undef
  227.   },
  228.   {
  229.     'link' => 'http://backuppc.wiki.sourceforge.net',
  230.     'lname' => undef,
  231.     'name' => 'Wiki'
  232.   },
  233.   {
  234.     'link' => 'http://backuppc.sourceforge.net',
  235.     'lname' => undef,
  236.     'name' => 'SourceForge'
  237.   }
  238. ];
  239.  
  240. $Conf{CgiStatusHilightColor} = {
  241. };
  242. $Conf{CgiHeaders} = '<meta http-equiv="pragma" content="no-cache">';
  243. $Conf{CgiImageDir} = '/usr/share/BackupPC/html/';
  244. $Conf{CgiExt2ContentType} = {};
  245. $Conf{CgiImageDirURL} = '/BackupPC/images';
  246. $Conf{CgiCSSFile} = 'BackupPC_stnd.css';
  247. $Conf{CgiUserConfigEditEnable} = '1';
  248. $Conf{CgiUserConfigEdit} = {
  249.   'EMailOutlookBackupSubj' => '1',
  250.   'ClientCharset' => '1',
  251.   'TarFullArgs' => '1',
  252.   'RsyncdPasswd' => '1',
  253.   'FtpBlockSize' => '1',
  254.   'IncrKeepCnt' => '1',
  255.   'PartialAgeMax' => '1',
  256.   'FixedIPNetBiosNameCheck' => '1',
  257.   'SmbShareUserName' => '1',
  258.   'EMailFromUserName' => '1',
  259.   'ArchivePreUserCmd' => '0',
  260.   'PingCmd' => '0',
  261.   'FullAgeMax' => '1',
  262.   'FtpUserName' => '1',
  263.   'PingMaxMsec' => '1',
  264.   'CompressLevel' => '1',
  265.   'DumpPreShareCmd' => '0',
  266.   'BackupFilesOnly' => '1',
  267.   'EMailNotifyOldBackupDays' => '1',
  268.   'EMailAdminUserName' => '1',
  269.   'RsyncCsumCacheVerifyProb' => '1',
  270.   'BlackoutPeriods' => '1',
  271.   'NmbLookupFindHostCmd' => '0',
  272.   'MaxOldPerPCLogFiles' => '1',
  273.   'TarClientCmd' => '0',
  274.   'EMailNotifyOldOutlookDays' => '1',
  275.   'SmbSharePasswd' => '1',
  276.   'SmbClientIncrCmd' => '0',
  277.   'FullKeepCntMin' => '1',
  278.   'RsyncArgs' => '1',
  279.   'FtpFollowSymlinks' => '1',
  280.   'ArchiveComp' => '1',
  281.   'TarIncrArgs' => '1',
  282.   'EMailUserDestDomain' => '1',
  283.   'TarClientPath' => '0',
  284.   'RsyncClientCmd' => '0',
  285.   'IncrFill' => '1',
  286.   'RestoreInfoKeepCnt' => '1',
  287.   'UserCmdCheckStatus' => '0',
  288.   'RsyncdClientPort' => '1',
  289.   'IncrAgeMax' => '1',
  290.   'RsyncdUserName' => '1',
  291.   'RsyncRestoreArgs' => '1',
  292.   'ClientCharsetLegacy' => '1',
  293.   'SmbClientFullCmd' => '0',
  294.   'ArchiveInfoKeepCnt' => '1',
  295.   'FtpShareName' => '1',
  296.   'BackupZeroFilesIsFatal' => '1',
  297.   'EMailNoBackupRecentMesg' => '1',
  298.   'FtpPort' => '1',
  299.   'FullKeepCnt' => '1',
  300.   'TarShareName' => '1',
  301.   'EMailNoBackupEverSubj' => '1',
  302.   'TarClientRestoreCmd' => '0',
  303.   'EMailNoBackupRecentSubj' => '1',
  304.   'ArchivePar' => '1',
  305.   'XferLogLevel' => '1',
  306.   'ArchiveDest' => '1',
  307.   'RsyncdAuthRequired' => '1',
  308.   'ClientTimeout' => '1',
  309.   'EMailNotifyMinDays' => '1',
  310.   'SmbClientRestoreCmd' => '0',
  311.   'ClientNameAlias' => '0',
  312.   'DumpPostShareCmd' => '0',
  313.   'IncrLevels' => '1',
  314.   'EMailOutlookBackupMesg' => '1',
  315.   'BlackoutBadPingLimit' => '1',
  316.   'BackupFilesExclude' => '1',
  317.   'FullPeriod' => '1',
  318.   'RsyncClientRestoreCmd' => '0',
  319.   'ArchivePostUserCmd' => '0',
  320.   'IncrPeriod' => '1',
  321.   'RsyncShareName' => '1',
  322.   'FtpTimeout' => '1',
  323.   'RestorePostUserCmd' => '0',
  324.   'BlackoutGoodCnt' => '1',
  325.   'ArchiveClientCmd' => '0',
  326.   'ArchiveSplit' => '1',
  327.   'FtpRestoreEnabled' => '1',
  328.   'XferMethod' => '1',
  329.   'NmbLookupCmd' => '0',
  330.   'BackupsDisable' => '1',
  331.   'SmbShareName' => '1',
  332.   'FtpPasswd' => '1',
  333.   'RestorePreUserCmd' => '0',
  334.   'RsyncArgsExtra' => '1',
  335.   'IncrKeepCntMin' => '1',
  336.   'EMailNoBackupEverMesg' => '1',
  337.   'EMailHeaders' => '1',
  338.   'DumpPreUserCmd' => '0',
  339.   'RsyncClientPath' => '0',
  340.   'DumpPostUserCmd' => '0'
  341. };
Advertisement
Add Comment
Please, Sign In to add comment