Package: backup-manager
Version: 0.5.7-1sarge1
Severity: critical
Tags: patch
Justification: causes serious data loss



-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.12.5-vs2.0-dbs-1und1
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages backup-manager depends on:
ii  debconf                       1.4.30.13  Debian configuration management sy
ii  gzip                          1.3.5-10   The GNU compression utility

-- debconf information excluded

Hello,

the perl-script "/usr/bin/backup-manager-upload" corrupts the uploaded
tar.gz-files. I assume, that the perl-script is using the transfer-methodi
"ascii". So it is impossible to restore the uploaded backups.

The attached patch should solve the problem.

--- /usr/bin/backup-manager-upload.orig  2005-07-28 14:31:16.000000000 +0000
+++ /usr/bin/backup-manager-upload       2005-10-24 11:30:17.000000000 +0000
@@ -256,6 +256,7 @@
                        if ($ftp->login($user, $passwd) and
                            $ftp->cwd($repository)) {
                                verbose "Logged on $host, in $repository";
+                               $ftp->binary;

                                foreach my $file (@{$ra_files}) {
                                        chomp $file;



Best regards,

Detlev Brodowski


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

Reply via email to