don't try to re-create zero sized increments
[BackupPC.git] / conf / config.pl
index 84e3b29..f9f334b 100644 (file)
@@ -1761,14 +1761,24 @@ $Conf{HyperEstraierIndex} = 'http://localhost:1978/node/backuppc';
 $Conf{GzipTempDir} = 'temp';
 
 #
-# schema for naming snapshot gzips 
+# nameing schema for snapshots (.tar.gz will be added)
+# \h   - hostname
+# \s   - share
+# \n   - increment numer
+#
+$Conf{GzipSchema} = '\h_\s_\n';
 #
-$Conf{GzipSchema} = '\h_\s_\n.tar.gz';
 
 #
-# archive media size (in kb)
+# archive media size (in bytes)
+# default: 4.2Gb for DVD
+#
+$Conf{MaxArchiveSize} = 4200 * 1024 * 1024;
+
 #
-$Conf{MaxArchiveSize} = 4400 * 1024;
+# maximum size of one (uncompressed) file on archive medium (in bytes)
+# default: 2Gb - 2k for DVD
+$Conf{MaxArchiveFileSize} = (2048 - 2) * 1024 * 1024;
 
 #
 # Temporary directory for ISO images (relative to install dir)
@@ -1792,3 +1802,8 @@ $Conf{GzipLevel} = '-1';
 # number of archive copies to burn
 $Conf{BurnMultipleCopies} = 2;
 
+# Other command-line utilities used
+$Conf{ejectBin} = 'eject';
+$Conf{ejectOpts} = '/dev/cdrom';
+
+$Conf{mkisofsBin} = 'mkisofs';