On Thu, 25 Jun 2009, Chencho wrote:
Normally i use rdiff-backup remotly (linux vs linux) over ssh.
I had a script as this:
rdiff-backup --print-statistics -v5 $ORIGEN u...@server::$DESTINO &> log
But since some time ago nothing goes to log file. If i make "sh script.sh"
all works fine, but all information from -v5 appers in shell and
rdiff-backup not end (i see no errors in screen, but i need to press ctrl+c
to access to shell again)
Did your default shell change? (for example, from bash to tcsh)
Did you install a different shell as /bin/sh?
The "&> log" seems specific to bash (and bash-like) shells, and may not
work as expected on other shells. It may very well be that your shell is
using the '&' to force the rdiff-process in the background, instead of
foreground. That would also explain the proces seemingly not ending.
Or is rdiff-backup suddenly a wrapper script? 'which rdiff-backup' might
help you answer that question.
HTH,
Maarten
_______________________________________________
rdiff-backup-users mailing list at [email protected]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki