/[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

upstream/2.1.0/conf/config.pl revision 1 by dpavlin, Wed Jun 22 19:12:04 2005 UTC trunk/conf/config.pl revision 355 by dpavlin, Thu Apr 27 09:35:41 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 1741  $Conf{CgiImageDirURL} = ''; Line 1741  $Conf{CgiImageDirURL} = '';
1741  # $Conf{CgiImageDirURL} URL.  # $Conf{CgiImageDirURL} URL.
1742  #  #
1743  $Conf{CgiCSSFile} = 'BackupPC_stnd.css';  $Conf{CgiCSSFile} = 'BackupPC_stnd.css';
1744    
1745    #
1746    # add search database dsn
1747    #
1748    #$Conf{SearchDSN} = 'dbi:SQLite:dbname=$TopDir/search.db';
1749    $Conf{SearchDSN} = 'dbi:Pg:dbname=backuppc';
1750    $Conf{SearchUser} = 'dpavlin';
1751    #
1752    # if you want to use experimental Hyper Estraier support (which require
1753    # installation of Search::Estraier perl module from CPAN) select
1754    # path to index (relative to $TopDir) or node URI
1755    # use following line to disable Hyper Estraier and prevent upgrades
1756    # from overwriting it
1757    #$Conf{HyperEstraierIndex} = '';
1758    $Conf{HyperEstraierIndex} = 'http://localhost:1978/node/backuppc';
1759    
1760    #
1761    # temp directory for storing gzip and iso files when createing iso images
1762    #
1763    $Conf{GzipTempDir} = 'temp';
1764    
1765    #
1766    # nameing schema for snapshots (.tar.gz will be added)
1767    # \h    - hostname
1768    # \s    - share
1769    # \n    - increment numer
1770    #
1771    $Conf{GzipSchema} = '\h_\s_\n';
1772    #
1773    
1774    #
1775    # archive media size (in bytes)
1776    # default: 4.2Gb for DVD
1777    #
1778    $Conf{MaxArchiveSize} = 4200 * 1024 * 1024;
1779    
1780    #
1781    # maximum size of one (uncompressed) file on archive medium (in bytes)
1782    # default: 2Gb - 2k for DVD
1783    $Conf{MaxArchiveFileSize} = (2048 - 2) * 1024 * 1024;
1784    
1785    #
1786    # Temporary directory for ISO images (relative to install dir)
1787    #
1788    $Conf{ISOTempDir} = 'temp/iso';
1789    
1790    ####
1791    # configuration data for burning
1792    ####
1793    $Conf{CDRecordBin} = 'cdrecord';
1794    $Conf{CDRecordOpts} = 'dev=/dev/hdc blank=fast -dao -v -eject -dummy';
1795    
1796    #$Conf{CDRecordBin} = 'dvdrecord';
1797    #$Conf{CDRecordOpts} = 'dev=0,0,0 -dao -v -eject -dummy';
1798    
1799    # gzip level for creating tar.gz increments
1800    # default is -6, -1 is fast, -9 is slow
1801    #$Conf{GzipLevel} = '-6';
1802    $Conf{GzipLevel} = '-1';
1803    
1804    # number of archive copies to burn
1805    $Conf{BurnMultipleCopies} = 2;
1806    
1807    # Other command-line utilities used
1808    $Conf{ejectBin} = 'eject';
1809    $Conf{ejectOpts} = '/dev/cdrom';
1810    
1811    $Conf{mkisofsBin} = 'mkisofs';
1812    
1813    # temporary path used when recovering of increments
1814    # (you might put this into tmpfs if you have enough RAM)
1815    $Conf{IncrementTempDir} = '/tmp/increment-restore/';

Legend:
Removed from v.1  
changed lines
  Added in v.355

  ViewVC Help
Powered by ViewVC 1.1.26