Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Nov 2009 11:44:52 +0100
From:      n dhert <ndhert@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   restore -rf user@host:file
Message-ID:  <8021a2660911240244j1a5c2abcu71866324ada0dc83@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
To use the restore command (dump/restore) with a dump file on a remote
machine, the man restore tells you can use the syntax restore -rf
user@host:file, this uses rcmd(3)
If from the target machine (on same subnet as remotemachine),
logged in as root, I enter
targetmachine# cd /home/testrestore
targetmachine# tar -rf root@ IP_of_remote_machine:/home/file.dmp
I get
IP_of_remote_machine: Connection refused
login to IP_of_remote_machine as root failed
There needs some more setup for this in order to work, (hosts.equiv,
.rhosts  or something ??).
How exactly ?
(I just need this for the restore, certainly not to be a permanent way of
transferring files)

 <root@%20machine.domain:/dir1/dir2/file.dmp>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8021a2660911240244j1a5c2abcu71866324ada0dc83>