Package: backuppc
Version: 3.1.0-4
Severity: normal

Hello,

i have configured archive host on backuppc to make archives over NFS to other 
machine. 
I want them to run regularly so I put this into my crontab:

55 12 * * 6 backuppc /usr/share/backuppc/bin/BackupPC_archiveStart archive \
backuppc server1 server2 server3

It worked but archives are not compressed. I have configured archive 
compression:

$Conf{ArchiveComp} = 'gzip';

and if i run archive from web interface it is set as the default and archives
are compressed. I looked into BackupPC_archiveStart script and it seems to
ignore compression settings and uses cat insteda of compression:

These are the lines 94-106

my %ArchiveReq = (
    archiveloc  => $bpc->{Conf}{ArchiveDest},
    archtype    => 0,
    compression => $bpc->{Conf}{CatPath},
    compext     => '.raw',
    parfile     => $bpc->{Conf}{ArchivePar},
    splitsize   => '0000000',
    host        => $ArchiveHost,
    HostList    => \...@hostlist,
    BackupList  => \...@backuplist,
    user        => $UserName,
    reqTime     => time,
);

I think there should be something to get compression setting from config.pl
instead of CatPath and .raw.

Regards
Vladislav Kurz


-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages backuppc depends on:
ii  adduser                  3.110           add and remove users and groups
ii  apache2                  2.2.9-10+lenny2 Apache HTTP Server metapackage
ii  apache2-mpm-prefork [htt 2.2.9-10+lenny2 Apache HTTP Server - traditional n
ii  bzip2                    1.0.5-1         high-quality block-sorting file co
ii  debconf [debconf-2.0]    1.5.24          Debian configuration management sy
ii  dpkg                     1.14.25         Debian package management system
ii  libarchive-zip-perl      1.18-1          Module for manipulation of ZIP arc
ii  libcompress-zlib-perl    2.012-1         Perl module for creation and manip
ii  perl [libdigest-md5-perl 5.10.0-19       Larry Wall's Practical Extraction 
ii  perl-suid                5.10.0-19       Runs setuid Perl scripts
ii  samba-common             2:3.2.5-4       Samba common files used by both th
ii  smbclient                2:3.2.5-4       a LanManager-like simple client fo
ii  tar                      1.20-1          GNU version of the tar archiving u

Versions of packages backuppc recommends:
ii  exim4                        4.69-9      metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-light [mail-tra 4.69-9      lightweight Exim MTA (v4) daemon
ii  libfile-rsyncp-perl          0.68-1.1+b1 A perl based implementation of an 
ii  openssh-client [ssh-client]  1:5.1p1-5   secure shell client, an rlogin/rsh
pn  rrdtool                      <none>      (no description available)
ii  rsync                        3.0.3-2     fast remote file copy program (lik

Versions of packages backuppc suggests:
ii  links [www-browser]        2.1pre37-1.1  Web browser running in text mode
ii  lynx-cur [www-browser]     2.8.7dev9-2.1 Text-mode WWW Browser with NLS sup
pn  par2                       <none>        (no description available)
ii  w3m [www-browser]          0.5.2-2+b1    WWW browsable pager with excellent

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to