rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] Log into remote backup with "&> log"


From: Maarten Bezemer
Subject: Re: [rdiff-backup-users] Log into remote backup with "&> log"
Date: Fri, 26 Jun 2009 00:01:36 +0200 (CEST)


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 address@hidden::$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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]