In case this is of use to others, I tweaked the BackupPC_archiveStart
script to properly (IMHO) deal with the ArchiveComp setting.  While my
coding style may be icky to some, I think my removal of the ".raw" file
extension for uncompressed archive files may be of issue to others.

        --- /usr/bin/BackupPC_archiveStart      2008-03-16 12:16:46.000000000 
-0400
        +++ /usr/bin/BackupPC_archiveStart.local        2009-02-17 
12:14:51.000000000 -0500
        @@ -94,8 +94,11 @@
         my %ArchiveReq = (
             archiveloc  => $bpc->{Conf}{ArchiveDest},
             archtype    => 0,
        -    compression => $bpc->{Conf}{CatPath},
        -    compext     => '.raw',
        +    compression => ($bpc->{Conf}{ArchiveComp} eq 'none' ? 
$bpc->{Conf}{CatPath}
        +                    :($bpc->{Conf}{ArchiveComp} eq 'gzip'
        +                      ? $bpc->{Conf}{GzipPath} : 
$bpc->{Conf}{Bzip2Path})),
        +    compext     => ($bpc->{Conf}{ArchiveComp} eq 'none' ? ''
        +                    :($bpc->{Conf}{ArchiveComp} eq 'gzip' ? '.gz' : 
'.bz2')),
             parfile     => $bpc->{Conf}{ArchivePar},
             splitsize   => '0000000',
             host        => $ArchiveHost,
        
 Seems to work for me but YMMV and your data may be eaten so use at your
own risk and all that blah blah blah...

Paul
-- 
Paul Dugas <[email protected]>


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to