Package: backuppc
Version: 2.1.2-4
Severity: normal

Hi,

using the supplied config.pl and localhost.pl does not result in proper
incremental backups (they are not really incremental) because of the
following error message from tar:

Running: /usr/bin/env LC_ALL=C /bin/tar -c -v -f - -C /etc --totals 
--newer=2006-05-18\ 01:50:22 .
Xfer PIDs are now 8161,8160
/bin/tar: Substituting 1901-12-13 21:45:52 for unknown date format 
`2006-05-18\\ 01:50:22'

This is caused by the additional escaping needed for remote backups (via
ssh, as configured in the default config.pl).
Since localhost.pl overwrites $Conf{TarClientCmd} to run locally, the
same should be done with $Conf{TarFullArgs} and $Conf{TarIncrArgs}.
I fixed this locally by adding the following lines to localhost.pl:

# remove extra shell escapes ($fileList+ etc.) that are
# needed for remote backups but may break local ones
$Conf{TarFullArgs} = '$fileList';
$Conf{TarIncrArgs} = '--newer=$incrDate $fileList';


BTW, the incremental backups created with $Conf{XferMethod} = 'tar' are
not timezone safe, i.e. if server and client use different timezone
values, the start time for the incremental backup requested by the
server is in the server's local timezone (without specifying it)
but the client will interpret it as if it were in it's local timezone.
Best would be to use an UTC timestamp for the --newer=... parameter.


Andreas

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (900, 'stable'), (600, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-k7
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages backuppc depends on:
ii  adduser                     3.87         Add and remove users and groups
ii  apache                      1.3.34-2     versatile, high-performance HTTP s
ii  apache-ssl                  1.3.34-2     versatile, high-performance HTTP s
ii  apache2-mpm-prefork [apache 2.0.55-4     traditional model for Apache2
ii  debconf [debconf-2.0]       1.5.1        Debian configuration management sy
ii  dpkg                        1.13.19      package maintenance system for Deb
ii  exim4                       4.44-2       metapackage to ease exim MTA (v4) 
ii  exim4-daemon-heavy [mail-tr 4.44-2       exim MTA (v4) daemon with extended
ii  libarchive-zip-perl         1.16-1       Module for manipulation of ZIP arc
ii  libcompress-zlib-perl       1.41-1       Perl module for creation and manip
ii  perl [libdigest-md5-perl]   5.8.8-4      Larry Wall's Practical Extraction 
ii  perl-suid                   5.8.8-4      Runs setuid Perl scripts
ii  samba-common                3.0.22-1     Samba common files used by both th
ii  smbclient                   3.0.22-1     a LanManager-like simple client fo
ii  tar                         1.15.1dfsg-3 GNU tar
ii  wwwconfig-common            0.0.45       Debian web auto configuration

backuppc recommends no packages.

-- debconf information:
* backuppc/configuration-note:
* backuppc/add-lines: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to