Bug#660372: Workaround in cmd_postexec for umounting

2014-02-27 Thread Niklaus Giger
I found out that specifing sleeping a few seconds allows unmounting a USB drive without problem. Eg. my cmd_postexec looks like "cmd_postexec /bin/sleep 5 && /bin/umount /dev/sdc1"

Bug#660372:

2013-09-25 Thread David Grant
I can reproduce the problem and I can confirm that Mike Gabriel's fix fixes it. Before the fix, I get this (and I can reproduce this over and over again, it's been happening every night for weeks now): david@silverstone:/mnt$ sudo /usr/local/bin/mount_backup_usb.sh && sudo rsnapshot -v daily echo

Bug#660372: fix cmd_postexec -> allow unmounting of snapshot root by cmd_postexec config option

2012-04-10 Thread Guillaume Delacour
tags 660372 moreinfo thanks Hi, Le samedi 18 février 2012 à 18:53 +0100, Mike Gabriel a écrit : > Package: rsnapshot > Version: 1.3.1-1 > Severity: normal > Tags: squeeze > > With rsnapshot from lenny it was able to copy backups to a mounted USB hard > disk > and unmount the USB disk after rsna

Bug#660372: rsnapshot_unmount-on-cmd-postexec.patch

2012-02-18 Thread Mike Gabriel
tags #660372 + patch thanks --- /usr/bin/rsnapshot.orig 2012-02-18 18:36:24.0 +0100 +++ /usr/bin/rsnapshot 2012-02-18 18:45:49.0 +0100 @@ -4039,7 +4039,16 @@ print_cmd($cmd); if (0 == $test) { + my $pre_systemcall_cwd = cwd(); + + # run $cmd from $HOME, allows unmounting

Bug#660372: fix cmd_postexec -> allow unmounting of snapshot root by cmd_postexec config option

2012-02-18 Thread Mike Gabriel
Package: rsnapshot Version: 1.3.1-1 Severity: normal Tags: squeeze With rsnapshot from lenny it was able to copy backups to a mounted USB hard disk and unmount the USB disk after rsnapshot had finished. For the unmounting I used the cmd_postexec configuration parameter. With rsnapshot from squeez