Subject: Re: dump, RCMD_CMD, TAPE
To: Matt Herzog <mherzog@attbi.com>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-help
Date: 06/13/2002 12:50:05
On Thu, 13 Jun 2002, Matt Herzog wrote:

> What needs to be configured on the client machine? I have these variables
> set in my root .kshrc file on felt, the system that needs backing up (felt):
>
> TAPE=operator@pobble:/dev/nrst0
> RCMD_CMD=/usr/bin/ssh

That should work. "rdump" doesn't have any special handling for "ssh",
so you'll need to use "ssh-agent", or else have "~operator/.shosts"
set up so that "ssh" is transparently equivalent to "rsh". E.g:

	ssh operator@pobble echo This is OK. 2>/dev/null

must result in just the one line, no prompts.

> If I type: /sbin/dump -9u /var
> I get:
>
> DUMP: Found /dev/rwd0e on /var in /etc/fstab
> DUMP: Date of this level 9 dump: Thu Jun 13 12:25:32 2002
> DUMP: Date of last level 0 dump: Tue Jun 11 16:01:46 2002
> DUMP: Dumping /dev/rwd0e (/var) to /dev/nrst0 on host 10.0.2.27
> DUMP: Label: none
> DUMP: mapping (Pass I) [regular files]
> DUMP: mapping (Pass II) [directories]
> DUMP: estimated 87696 tape blocks on 2.25 tape(s).
> dump: Lost connection to remote host.

Bet it's lying, that it never made the connection in the first place.
Check "/var/log/authlog" on pobble to see why it didn't take.

Frederick