Package: rsnapshot
Version: 1.3.0-2
Severity: normal

There is a new version at
http://www.rsnapshot.org/downloads.html

It includes taking a snapshot of an lvm snapshot, and is thus atomic.

It needs a small patch that will make it shortly onto the mailing list
(hopefully), as otherwise the umount stdout output (nothing) ends up
redirected to /dev/null instead of the lvremove stdout:

# diff -u rsnapshot.bak rsnapshot
--- rsnapshot.bak       2008-09-15 04:21:21.000000000 +1000
+++ rsnapshot   2008-10-12 04:25:12.000000000 +1100
@@ -3732,9 +3732,7 @@

         print_cmd(@cmd_stack);
         if (0 == $test) {
-            # silence gratuitous lvremove output
-            #$result = system(@cmd_stack);
-            $result = system(join " ", @cmd_stack, ">/dev/null");
+            $result = system(@cmd_stack);

             if ($result != 0) {
                 bail("Unmount LVM snapshot failed: $result");
@@ -3749,7 +3747,9 @@

         print_cmd(@cmd_stack);
         if (0 == $test) {
-            $result = system(@cmd_stack);
+            # silence gratuitous lvremove output
+            #$result = system(@cmd_stack);
+            $result = system(join " ", @cmd_stack, ">/dev/null");

             if ($result != 0) {
                 bail("Removal of LVM snapshot failed: $result");


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

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

Versions of packages rsnapshot depends on:
ii  logrotate                     3.7.1-5    Log rotation utility
ii  perl                          5.10.0-16  Larry Wall's Practical Extraction 
ii  rsync                         3.0.4-3    fast remote file copy program (lik

Versions of packages rsnapshot recommends:
pn  ssh                           <none>     (no description available)

rsnapshot suggests no packages.

-- no debconf information



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

Reply via email to