From owner-freebsd-questions@FreeBSD.ORG Tue Nov 24 10:51:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FBE9106566B for ; Tue, 24 Nov 2009 10:51:50 +0000 (UTC) (envelope-from ndhert@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id 924118FC13 for ; Tue, 24 Nov 2009 10:51:49 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 22so1618871eye.9 for ; Tue, 24 Nov 2009 02:51:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=BpxnHqNA93Wpkn5dLTpsgXTpqSc0zRx4K7olQuXN9+M=; b=dM03T0lFwTZz9+NMKI2YKi+W/qUyEV/rT+wpqG1ulIfQoOJ5yWNXgjl7vhXN7A4P1v ubFLZx+rBcOnoyBXRAAveocFhrLmYwd5CxuJNif+otEbbQQm902SHLNkPnOIvZXLIkg/ H4MIupl4IHrj+nT+G0EUgq1zlIuEwdaMzlZZ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=XOMrfqurSpXqN6zSXzyeJqnRE90ZMiFEKdylRFRM6d2jhrjYYdzgJ3t+h/1x1yPC7u fqTBLt6o4QO76V05qNMLBtlggwCVQdMvFj7cBkgaia+jWxxh2IPGhI/x6E3VQBVduEAK 0Tr1kvyPiNx4gilHggXmmIyXmECwV1Cf1jVyo= MIME-Version: 1.0 Received: by 10.216.88.212 with SMTP id a62mr1937816wef.72.1259059492778; Tue, 24 Nov 2009 02:44:52 -0800 (PST) Date: Tue, 24 Nov 2009 11:44:52 +0100 Message-ID: <8021a2660911240244j1a5c2abcu71866324ada0dc83@mail.gmail.com> From: n dhert To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: restore -rf user@host:file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Nov 2009 10:51:50 -0000 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)