
BackupPC_archiveStart not using compression
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.net
List:
https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:
http://backuppc.wiki.sourceforge.net
Project:
http://backuppc.sourceforge.net/