[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] Re: Re: "Truncated header string" error, how to dia
From: |
Chris G |
Subject: |
[rdiff-backup-users] Re: Re: "Truncated header string" error, how to diagnose? |
Date: |
Sun, 11 May 2008 18:06:07 +0100 |
User-agent: |
Mutt/1.5.17 (2007-11-01) |
On Sun, May 11, 2008 at 06:46:28PM +0200, Chris Wilson wrote:
> Hi Chris,
>
> On Sun, 11 May 2008, Chris G wrote:
>
>> I've now cleared up the mess a little, removed all the BSD stuff (that
>> I can find) and have done a clean installation of 1.1.15 on the Linux
>> remote. My backups now work, though I do have to use "--remote-schema
>> 'ssh -C %s /home/isbd/bin/rdiff-backup --server' to make it work. I'm
>> not quite clear why this should be as my PATH includes /home/isbd/bin
>> but it's not a big problem.
>
> Non-login shells (such as ssh with a command) do not usually read your
> profile or bashrc, and therefore normally miss out on any custom
> environment variables, aliases, etc. If you need this, run a shell, such as
> 'ssh -C %s bash rdiff-backup --server', or write a wrapper script for
> rdiff-backup.
>
At present it's simpler to include the --remote-schema, it's only in
two places. If I find it getting cumbersome I will, as you suggest,
write a wrapper for rdiff-backup.
--
Chris Green