/[BackupPC]/trunk/conf/config.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/conf/config.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 116 by dpavlin, Sun Sep 11 12:39:24 2005 UTC revision 316 by dpavlin, Mon Jan 30 13:37:17 2006 UTC
# Line 741  $Conf{BackupZeroFilesIsFatal} = 1; Line 741  $Conf{BackupZeroFilesIsFatal} = 1;
741  #   - 'rsync':   backup and restore via rsync (via rsh or ssh).  #   - 'rsync':   backup and restore via rsync (via rsh or ssh).
742  #                Best choice for linux/unix.  Good choice also for WinXX.  #                Best choice for linux/unix.  Good choice also for WinXX.
743  #  #
744  #   - 'rsyncd':  backup and restre via rsync daemon on the client.  #   - 'rsyncd':  backup and restore via rsync daemon on the client.
745  #                Best choice for linux/unix if you have rsyncd running on  #                Best choice for linux/unix if you have rsyncd running on
746  #                the client.  Good choice also for WinXX.  #                the client.  Good choice also for WinXX.
747  #  #
# Line 1337  $Conf{PingMaxMsec} = 20; Line 1337  $Conf{PingMaxMsec} = 20;
1337  # Despite the name, this parameter sets the timeout for all transport  # Despite the name, this parameter sets the timeout for all transport
1338  # methods (tar, smb etc).  # methods (tar, smb etc).
1339  #  #
1340  $Conf{ClientTimeout} = 7200;  $Conf{ClientTimeout} = 72000;
1341    
1342  #  #
1343  # Maximum number of log files we keep around in each PC's directory  # Maximum number of log files we keep around in each PC's directory
# Line 1510  $Conf{EMailUserDestDomain} = ''; Line 1510  $Conf{EMailUserDestDomain} = '';
1510  #   To: $user$domain  #   To: $user$domain
1511  #   cc:  #   cc:
1512  #   Subject: $subj  #   Subject: $subj
1513  #    #   $headers
1514  #   Dear $userName,  #   Dear $userName,
1515  #    #  
1516  #   This is a site-specific email message.  #   This is a site-specific email message.
# Line 1538  $Conf{EMailNotifyOldBackupDays} = 7.0; Line 1538  $Conf{EMailNotifyOldBackupDays} = 7.0;
1538  #   To: $user$domain  #   To: $user$domain
1539  #   cc:  #   cc:
1540  #   Subject: $subj  #   Subject: $subj
1541  #    #   $headers
1542  #   Dear $userName,  #   Dear $userName,
1543  #    #  
1544  #   This is a site-specific email message.  #   This is a site-specific email message.
# Line 1566  $Conf{EMailNotifyOldOutlookDays} = 5.0; Line 1566  $Conf{EMailNotifyOldOutlookDays} = 5.0;
1566  #   To: $user$domain  #   To: $user$domain
1567  #   cc:  #   cc:
1568  #   Subject: $subj  #   Subject: $subj
1569  #    #   $headers
1570  #   Dear $userName,  #   Dear $userName,
1571  #    #  
1572  #   This is a site-specific email message.  #   This is a site-specific email message.
# Line 1749  $Conf{CgiCSSFile} = 'BackupPC_stnd.css'; Line 1749  $Conf{CgiCSSFile} = 'BackupPC_stnd.css';
1749  $Conf{SearchDSN} = 'dbi:Pg:dbname=backuppc';  $Conf{SearchDSN} = 'dbi:Pg:dbname=backuppc';
1750  $Conf{SearchUser} = 'dpavlin';  $Conf{SearchUser} = 'dpavlin';
1751  #  #
1752  # if you want to use experimental HyperEstraier support (which require  # if you want to use experimental Hyper Estraier support (which require
1753  # installation of HyperEstraier and swig binding for perl) select  # installation of Search::Estraier perl module from CPAN) select
1754  # path to index (relative to $TopDir) or node URI  # path to index (relative to $TopDir) or node URI
1755  #$Conf{HyperEstraierIndex} = '/casket/';  #$Conf{HyperEstraierIndex} = '/casket/';
1756  $Conf{HyperEstraierIndex} = 'http://localhost:1978/node/backuppc';  $Conf{HyperEstraierIndex} = 'http://localhost:1978/node/backuppc';
# Line 1759  $Conf{HyperEstraierIndex} = 'http://loca Line 1759  $Conf{HyperEstraierIndex} = 'http://loca
1759  # temp directory for storing gzip and iso files when createing iso images  # temp directory for storing gzip and iso files when createing iso images
1760  #  #
1761  $Conf{GzipTempDir} = 'temp';  $Conf{GzipTempDir} = 'temp';
1762  $Conf{GzipSchema} = '\h_\s_\n.tar.gz';  
1763    #
1764    # nameing schema for snapshots (.tar.gz will be added)
1765    # \h    - hostname
1766    # \s    - share
1767    # \n    - increment numer
1768    #
1769    $Conf{GzipSchema} = '\h_\s_\n';
1770    #
1771    
1772    #
1773    # archive media size (in bytes)
1774    # default: 4.2Gb for DVD
1775    #
1776    $Conf{MaxArchiveSize} = 4200 * 1024 * 1024;
1777    
1778    #
1779    # maximum size of one (uncompressed) file on archive medium (in bytes)
1780    # default: 2Gb - 2k for DVD
1781    $Conf{MaxArchiveFileSize} = (2048 - 2) * 1024 * 1024;
1782    
1783    #
1784    # Temporary directory for ISO images (relative to install dir)
1785    #
1786    $Conf{ISOTempDir} = 'temp/iso';
1787    
1788    ####
1789    # configuration data for burning
1790    ####
1791    $Conf{CDRecordBin} = 'cdrecord';
1792    $Conf{CDRecordOpts} = 'dev=/dev/hdc blank=fast -dao -v -eject -dummy';
1793    
1794    #$Conf{CDRecordBin} = 'dvdrecord';
1795    #$Conf{CDRecordOpts} = 'dev=0,0,0 -dao -v -eject -dummy';
1796    
1797    # gzip level for creating tar.gz increments
1798    # default is -6, -1 is fast, -9 is slow
1799    #$Conf{GzipLevel} = '-6';
1800    $Conf{GzipLevel} = '-1';
1801    
1802    # number of archive copies to burn
1803    $Conf{BurnMultipleCopies} = 2;
1804    
1805    # Other command-line utilities used
1806    $Conf{ejectBin} = 'eject';
1807    $Conf{ejectOpts} = '/dev/cdrom';
1808    
1809    $Conf{mkisofsBin} = 'mkisofs';

Legend:
Removed from v.116  
changed lines
  Added in v.316

  ViewVC Help
Powered by ViewVC 1.1.26