Package: backuppc
Version: 3.1.0-4
Severity: critical
Justification: causes serious data loss


Since upgrading to Lenny (thus upgrading BackupPC), backups cannot be made 
anymore using SMB method when using 
$Conf{BackupFilesOnly} and defining paths longer than one level due to the app 
trying to duplicate the second to last
directory in the file-including path. For instance, having the following host 
config file:

$Conf{SmbShareName} = [
  'cosme'
];
$Conf{BackupFilesOnly} = {
  '*' => [
    '/Escritorio/ESCRIBIR CD',
    '/Datos de Programa/Thunderbird'
  ]
};
$Conf{SmbShareUserName} = 'backuppc';
$Conf{SmbSharePasswd} = '';
$Conf{XferMethod} = 'smb';
$Conf{FullPeriod} = '29.97';
$Conf{IncrPeriod} = '0.97';
$Conf{FullKeepCnt} = [
  '1'
];
$Conf{IncrKeepCnt} = '30';
$Conf{ClientCharsetLegacy} = 'utf8';

Makes the automatic backups (both full and incremental) to silently fail. When 
requesting a manual backup, it issues the
following errors:

Running: /usr/bin/smbclient \\\\sipn1\\cosme -I 161.111.149.171 -U 
backuppc -E -d 1 -c tarmode\ 
full -TcN /var/lib/backuppc/pc/sipn1/timeStamp.level0 - /Escritorio/ESCRIBIR\ 
CD /Datos\ de\ Programa/Thunderbird
incr backup started back to 2009-02-06 21:00:03  (backup #563) for share cosme
Xfer PIDs are now 8723,8722
[ saltadas 3 lineas ]
NT_STATUS_OBJECT_NAME_NOT_FOUND listing \Escritorio\Escritorio\*
NT_STATUS_OBJECT_NAME_NOT_FOUND listing \Datos de Programa\Datos de programa\*
[ saltadas 4 lineas ]
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 
filesTotal, 0 sizeTotal

As you can see above, the second to last directories are duplicated.

All of these lead to failed backups without warnings.

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

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8) (ignored: 
LC_ALL set to es_ES.UTF-8)
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-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
ii  rrdtool                      1.3.1-4     Time-series data storage and 
displ
ii  rsync                        3.0.3-2     fast remote file copy program 
(lik

Versions of packages backuppc suggests:
ii  konqueror [www-browser] 4:3.5.9.dfsg.1-6 KDE's advanced file manager, web 
b
ii  par2                    0.4-10           Parity Archive Volume Set, for 
che
ii  w3m [www-browser]       0.5.2-2+b1       WWW browsable pager with 
excellent

-- debconf information:
  backuppc/tmppass: (password omitted)
  backuppc/restart-webserver: true
* backuppc/add-lines: true
* backuppc/configuration-note:
  backuppc/reconfigure-webserver:



-- 
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