Package: backup2l
Version: 1.4
Severity: important
Tags: l10n

I'm using a driver for pigz (sid) in backup2l.conf. Occasionally files 
are excluded from the backup because they contain utf8 or other 
unrecognized file names. This seems related to the pipe between tar 
and pigz or other external archiving utilities.

Reproduce:
install console-tools
backup /usr/share/doc/console-tools using the driver below or afzio.

Driver example:
DRIVER_TAR_GZ_PIGZ () {
# NOTES: USE ONLY WITH MULTI CORE CPU
# REQUIRES YOU TO DOWNLOAD AND COMPILE PIGZ
# http://www.zlib.net/pigz/
# Copy it to your system path somewhere; eg /usr/bin/pigz
# Create uses PIGZ for threaded, multi file compression
# Extract uses standard tar xz so you can restore without pigz
#
# Create compression and threads can be altered by changing the create 
line.
## minimum compression example: tar cf - --files-from=$4 | pigz -0 > $3 
2>&1
## maximum compression example: tar cf - --files-from=$4 | pigz -9 > $3 
2>&1
## default compression example: tar cf - --files-from=$4 | pigz > $3 
2>&1
## limit threads to 2 : tar cf - --files-from=$4 | pigz -p 2 > $3 2>&1
## use larger block size: tar cf - --files-from=$4 | pigz -b 256 > $3 
2>&1
case $1 in
-test)
require_tools tar gzip pigz cat
echo "ok"
;;
-suffix)
echo "tar.gz"
;;
-create) # Arguments: $2 = BID, $3 = archive file name, $4 = file list 
file
tar cf - --files-from=$4 | pigz > $3 2>&1
;;
# Using tar tz for the toc verifies the PIGZ archive is usable
# in case you don't have pigz installed when you restore
-toc) # Arguments: $2 = BID, $3 = archive file name
cat $3 | tar tz | sed 's#^#/#'
;;
# cat $3 | tar xz --same-permission --same-owner -T $4 2>&1
-extract) # Arguments: $2 = BID, $3 = archive file name, $4 = file list 
file
cat $3 | pigz -d | tar x --same-permission --same-owner --files-from=$4 
2>&1
;;
esac
}

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

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages backup2l depends on:
ii  findutils                     4.4.0-2    utilities for finding files--find,

Versions of packages backup2l recommends:
ii  afio                          2.5-5      archive file manipulation program
ii  tar                           1.20-1     GNU version of the tar archiving u

Versions of packages backup2l suggests:
ii  bzip2                         1.0.5-1    high-quality block-sorting file co
pn  cdlabelgen                    <none>     (no description available)

-- no debconf information



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