file in /etc/BackupPC/pc/_search_archive.pl
+
+There are two global options which had to be set for all hosts:
+
+#
+# /etc/BackupPC/config.pl
+#
+
+# invoke archive of dump - ASA extension DumpPostCmd was too early
+$Conf{DumpPostFinishCmd} = '/srv/BackupPC/bin/BackupPC_ASA_ArchiveStart _search_archive backuppc $host';
+
+# dump only incremental changes in tars not whole content - ASA extension
+$Conf{TarCreateIncremental} = 1;
+
+
+
You can manually trigger all pending backups using:
BackupPC_ASA_ArchiveStart _search_archive backuppc
This will start archive host _search_archive which will run it's configuration:
-
#
# /etc/BackupPC/pc/_search_archive.pl
#
$Conf{ArchiveComp} = 'gzip';
$Conf{CompressLevel} = 9;
-# dump only incremental changes in tars not whole content - ASA extension
-# XXX this option must be global in /etc/BackupPC/config.pl
-$Conf{TarCreateIncremental} = 1;
# archive media size (in bytes) 4.2Gb for DVD
-#$Conf{ArchiveMediaSize} = 4200 * 1024 * 1024;
-$Conf{ArchiveMediaSize} = 1440 * 1024; # FIXME floppy
-
-# size of one chunk burned to archive medium
-# useful for transfer to smaller media or limited filesystems
-#$Conf{ArchiveChunkSize} = (2048 - 2) * 1024 * 1024; # 2Gb filesystem-limit
-$Conf{ArchiveChunkSize} = 100 * 1024 * 1024; # FIXME zipdrive
+#$Conf{ArchiveMediaSize} = 4200 * 1024 * 1024; # DVD
+$Conf{ArchiveMediaSize} = 630 * 1024 * 1024; # CD
+#$Conf{ArchiveMediaSize} = 1440 * 1024; # floppy
+#$Conf{ArchiveMediaSize} = 42 * 1024 * 1024; # FIXME
# A size in megabytes to split the archive in to parts at.
# This is useful where the file size of the archive might exceed the
# capacity of the removable media. For example specify 700 if you are using CDs.
#$Conf{ArchiveSplit} = 650;
-$Conf{ArchiveSplit} = 300 * 1024; # FIXME small testing chunks
+$Conf{ArchiveSplit} = 42; # FIXME small testing chunks
# The amount of parity data to create for the archive using the par2 utility.