Package: slbackup-php Version: 0.3-2 Severity: important Hello, Sorry, My English is bad. I would be brief. Unable to restore files containing spaces in their name. A proposed correction: rdiff-u
--- restore.tpl 2010-01-13 16:40:45.000000000 +0100 +++ restore.tpl.old 2007-04-25 11:27:16.000000000 +0200 @@ -42,13 +42,13 @@ <IMG SRC="/icons/generic.gif" alt="[ ]"> {/if} {if $dir.type == "file"} - <A HREF="index.php?restorefile&client={$client}&sub={$dir.sub}&location={$location}">{$dir.name}</A> + <A HREF=index.php?restorefile&client={$client}&sub={$dir.sub}&location={$location}>{$dir.name}</A> {elseif $dir.type == "delfile"} - <A HREF="index.php?restorefile&client={$client}&sub={$dir.sub}&location={$location}">{$dir.name}(deleted)</A> + <A HREF=index.php?restorefile&client={$client}&sub={$dir.sub}&location={$location}>{$dir.name}(deleted)</A> {elseif $dir.type == deldir} - <A HREF="index.php?restorelocation&client={$client}&sub={$dir.sub}&location={$location}">{$dir.name} ({t}Deleted{/t})</A> + <A HREF=index.php?restorelocation&client={$client}&sub={$dir.sub}&location={$location}>{$dir.name} ({t}Deleted{/t})</A> {else} - <A HREF="index.php?restorelocation&client={$client}&sub={$dir.sub}&location={$location}">{$dir.name}</A> + <A HREF=index.php?restorelocation&client={$client}&sub={$dir.sub}&location={$location}>{$dir.name}</A> {/if} <BR> {/foreach} @@ -59,13 +59,13 @@ <IMG SRC="/icons/transfer.gif" alt="[ ]"> {/if} {if $version.type == "parent"} - <A HREF="index.php?restorelocation&client={$client}&sub={$version.sub}&location={$location}">{$version.name}</A> + <A HREF=index.php?restorelocation&client={$client}&sub={$version.sub}&location={$location}>{$version.name}</A> {elseif $version.type == "currentfile"} - <A HREF="index.php?restorefile&client={$client}&file={$version.sub}&location={$location}&revision=current">current</A> + <A HREF=index.php?restorefile&client={$client}&file={$version.sub}&location={$location}&revision=current>current</A> {elseif $version.type == "diff.gz"} - <A HREF="index.php?restorefile&client={$client}&parent={$version.parent}&location={$location}&revision={$version.revision}&name={$version.name}">{$version.ts}</A> + <A HREF=index.php?restorefile&client={$client}&parent={$version.parent}&location={$location}&revision={$version.revision}&name={$version.name}>{$version.ts}</A> {elseif $version.type == "snapshot.gz"} - <A HREF="index.php?restorefile&client={$client}&parent={$version.parent}&location={$location}&revision={$version.revision}&name={$version.name}">{$version.ts}</A> + <A HREF=index.php?restorefile&client={$client}&parent={$version.parent}&location={$location}&revision={$version.revision}&name={$version.name}>{$version.ts}</A> {else} unknown snapshot type $version.type {/if} --- index.php 2010-01-13 16:38:35.000000000 +0100 +++ index.php.old 2007-04-25 10:15:47.000000000 +0200 @@ -71,7 +71,7 @@ function removesnapshots ($passwd, $clientdir, $snapshot) { global $backuphost, $backupuser, $ssh_options, $ssh_askpass ; - $cmd = sprintf ("ssh %s %...@%s 'rdiff-backup --force --remove-older-than %s \"%s\"'", + $cmd = sprintf ("ssh %s %...@%s 'rdiff-backup --force --remove-older-than %s %s'", $ssh_options, $backupuser, $backuphost, $snapshot, $clientdir) ; @@ -98,7 +98,7 @@ function listsnapshots ($passwd, $clientdir) { global $backuphost, $backupuser, $ssh_options, $ssh_askpass ; - $cmd = sprintf ("ssh %s %...@%s 'find \"%s/rdiff-backup-data\" -maxdepth 1 -name \"increments.*\" -printf %s'", + $cmd = sprintf ("ssh %s %...@%s 'find %s/rdiff-backup-data -maxdepth 1 -name \"increments.*\" -printf %s'", $ssh_options, $backupuser, $backuphost, $clientdir, '"%P\n"') ; @@ -126,7 +126,7 @@ function fetchfile ($passwd, $clientdir, $location, $file) { global $backuphost, $backupuser, $ssh_options, $ssh_askpass ; - $cmd = sprintf ("ssh %s %...@%s 'cat \"%s%s/%s\"'", + $cmd = sprintf ("ssh %s %...@%s 'cat %s%s/%s'", $ssh_options, $backupuser, $backuphost, $clientdir, $location, $file ) ; @@ -169,7 +169,7 @@ } else unset ($tempfile) ; if (empty($tempfile)) return ; - $cmd = sprintf ("ssh %s %...@%s 'rdiff-backup --force \"%s/rdiff-backup-data/increments%s/%s\" \"%s\"'", + $cmd = sprintf ("ssh %s %...@%s 'rdiff-backup --force %s/rdiff-backup-data/increments%s/%s %s'", $ssh_options, $backupuser, $backuphost, $clientdir, $location, $file, $tempfile ) ; @@ -180,7 +180,7 @@ fclose ($pipes[1]) ; proc_close ($proc) ; } - $cmd = sprintf ("ssh %s %...@%s 'cat \"%s\" && rm \"%s\"'", + $cmd = sprintf ("ssh %s %...@%s 'cat %s && rm %s'", $ssh_options, $backupuser, $backuphost, $tempfile, $tempfile) ; $proc = proc_open ($cmd, $desc, $pipes, '/tmp', $env) ; @@ -213,7 +213,7 @@ $env = array ('SSH_ASKPASS' => $ssh_askpass, 'DISPLAY' => ':nowhere') ; - $cmd = sprintf ("ssh %s %...@%s 'find \"%s%s/%s\" -maxdepth 1 -mindepth 1 -type f -name \"%s\"'", + $cmd = sprintf ("ssh %s %...@%s 'find %s%s/%s -maxdepth 1 -mindepth 1 -type f -name %s'", $ssh_options, $backupuser, $backuphost, $clientdir, $location, $parent, $base ) ; $proc = proc_open ($cmd, $desc, $pipes, '/tmp', $env) ; @@ -230,7 +230,7 @@ proc_close ($proc) ; } $baselen= strlen ($base) ; - $cmd = sprintf ("ssh %s %...@%s 'find \"%s/rdiff-backup-data/increments%s/%s\" -maxdepth 1 -mindepth 1 -type f -name \"%s*.gz\"'", + $cmd = sprintf ("ssh %s %...@%s 'find %s/rdiff-backup-data/increments%s/%s -maxdepth 1 -mindepth 1 -type f -name \"%s*.gz\"'", $ssh_options, $backupuser, $backuphost, $clientdir, $location, $parent, $base ) ; @@ -283,7 +283,7 @@ $env = array ('SSH_ASKPASS' => $ssh_askpass, 'DISPLAY' => ':nowhere') ; - $cmd = sprintf ("ssh %s %...@%s 'find \"%s%s/%s\" -maxdepth 1 -mindepth 1 -type d'", + $cmd = sprintf ("ssh %s %...@%s 'find %s%s/%s -maxdepth 1 -mindepth 1 -type d'", $ssh_options, $backupuser, $backuphost, $clientdir, $location, $sub ) ; $proc = proc_open ($cmd, $desc, $pipes, '/tmp', $env) ; @@ -299,7 +299,7 @@ fclose ($pipes[1]) ; proc_close ($proc) ; } - $cmd = sprintf ("ssh %s %...@%s 'find \"%s/rdiff-backup-data/increments%s/%s\" -maxdepth 1 -mindepth 1 -type d'", + $cmd = sprintf ("ssh %s %...@%s 'find %s/rdiff-backup-data/increments%s/%s -maxdepth 1 -mindepth 1 -type d'", $ssh_options, $backupuser, $backuphost, $clientdir, $location, $sub ) ; $proc = proc_open ($cmd, $desc, $pipes, '/tmp', $env) ; @@ -322,7 +322,7 @@ fclose ($pipes[1]) ; proc_close ($proc) ; } - $cmd = sprintf ("ssh %s %...@%s 'find \"%s%s/%s\" -maxdepth 1 -mindepth 1 -type f'", + $cmd = sprintf ("ssh %s %...@%s 'find %s%s/%s -maxdepth 1 -mindepth 1 -type f'", $ssh_options, $backupuser, $backuphost, $clientdir, $location, $sub ) ; @@ -339,7 +339,7 @@ fclose ($pipes[1]) ; proc_close ($proc) ; } - $cmd = sprintf ("ssh %s %...@%s 'find \"%s/rdiff-backup-data/increments%s/%s\" -maxdepth 1 -mindepth 1 -type f -name \"*.snapshot.gz\"'", + $cmd = sprintf ("ssh %s %...@%s 'find %s/rdiff-backup-data/increments%s/%s -maxdepth 1 -mindepth 1 -type f -name \"*.snapshot.gz\"'", $ssh_options, $backupuser, $backuphost, $clientdir, $location, $sub ) ; $proc = proc_open ($cmd, $desc, $pipes, '/tmp', $env) ; -- System Information: Debian Release: 5.0.3 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-2-amd64 (SMP w/1 CPU core) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages slbackup-php depends on: ii apache2 2.2.9-10+lenny6 Apache HTTP Server metapackage ii apache2-mpm-prefor 2.2.9-10+lenny6 Apache HTTP Server - traditional n ii debconf [debconf-2 1.5.24 Debian configuration management sy ii libapache2-mod-php 5.2.6.dfsg.1-1+lenny4 server-side, HTML-embedded scripti ii php5-cli 5.2.6.dfsg.1-1+lenny4 command-line interpreter for the p ii smarty 2.6.20-1.2 Template engine for PHP ii smarty-gettext 1.0b1-2 provides gettext support for smart ii ssh 1:5.1p1-5 secure shell client and server (me slbackup-php recommends no packages. slbackup-php suggests no packages. -- debconf information excluded -- Ce message a été vérifié par MailScanner pour des virus ou des polluriels et rien de suspect n'a été trouvé. For all your IT requirements visit: http://www.transtec.co.uk -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org