BackupPC-users

Re: [BackupPC-users] BackupPC_archiveStart not using compression

2008-10-12 20:30:36
Subject: Re: [BackupPC-users] BackupPC_archiveStart not using compression
From: Craig Barratt <cbarratt AT users.sourceforge DOT net>
To: Stephen Vaughan <stephenvaughan AT gmail DOT com>
Date: Sun, 12 Oct 2008 17:28:07 -0700
Stephen writes:

> When I run BackupPC_archiveStart from the command line it's not
> using compression for the backup, the backup file is created using
> "raw", however if I start the archive job via the web-interface it
> uses compression (gzip by default).
> 
> The command I am running is:
> 
> /usr/share/backuppc/bin/BackupPC_archiveStart offsite-archive backuppc nphts

Looks like a typo in bin/BackupPC_archiveStart.  This line:

    compression => $bpc->{Conf}{CatPath},

should be 

    compression => $bpc->{Conf}{ArchiveComp},

Or slightly more correctly, if $bpc->{Conf}{ArchiveComp} is "none"
you should set compression to $bpc->{Conf}{CatPath} instead.

You might also want to change the value of compext 
when compression is on.

Craig

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/