From owner-freebsd-questions@FreeBSD.ORG Thu May 22 08:08:38 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA0B637B401 for ; Thu, 22 May 2003 08:08:38 -0700 (PDT) Received: from sferics.mongueurs.net (sferics.mongueurs.net [81.80.147.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD64843F3F for ; Thu, 22 May 2003 08:08:37 -0700 (PDT) (envelope-from david@landgren.net) Received: from landgren.net (81-80-147-206.bpinet.com [81.80.147.206]) by sferics.mongueurs.net (Postfix) with ESMTP id 0CB77A959 for ; Thu, 22 May 2003 17:08:35 +0200 (CEST) Message-ID: <3ECCE77A.7080808@landgren.net> Date: Thu, 22 May 2003 17:06:34 +0200 From: David Landgren Organization: A thousand golden eyes are watching User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: restore over ssh hangs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 15:08:39 -0000 List, I've implemented backups with dump/restore over ssh to a remote server. The backups work just fine, basically doing something like dump -0au -f - / | bzip2 | ssh remote.host \ dd of=/backup/root.bz2 Now backups are only useful if you can restore from them... so I deleted a file and then tried to restore it. I figured the command would be ssh remote.host dd if=/backup/root.bz2 | bunzip2 \ | restore -vxf - etc/foo This produces the following output: Verify tape and initialize maps Dump date: Thu May 22 11:52:45 2003 Dumped from: the epoch Level 0 dump of /home on relay.bpinet.com:/dev/da0s1g Label: none Extract directories from tape Initialize symbol table. Make node ./david Extract requested files extract file ./etc/foo Add links Set directory mode, owner, and times. set owner/mode for '.'? [yn] y set owner/mode for '.'? [yn] y set owner/mode for '.'? [yn] y That is, it asked me this question 3 times interactively, and now it's just hanging there. On the remote machine top says that dd is in sbwait state. On the local machine top says the ssh process is in select. Moreover, the bunzip2 and restore processes have exited. And my file hasn't been restored :( I could always ferry the entire dump file over, decompress it and then restore from it, but the files in question are pretty colossal, and at some point down the road I won't have enough free space to do it anyway. Thanks for any clues I can use. David