From owner-freebsd-questions Fri Jun 4 14:30: 6 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.click2net.com (mail.click2net.com [216.94.59.238]) by hub.freebsd.org (Postfix) with ESMTP id 256F314CBB for ; Fri, 4 Jun 1999 14:29:57 -0700 (PDT) (envelope-from geoff@click2net.com) Received: from click2net.com (sparrow.click2net.com [216.94.59.226]) by mail.click2net.com (8.9.1/8.9.1) with ESMTP id RAA02966 for ; Fri, 4 Jun 1999 17:31:36 -0400 (EDT) (envelope-from geoff@click2net.com) Message-ID: <375845AC.DD801B4B@click2net.com> Date: Fri, 04 Jun 1999 17:31:24 -0400 From: Geoffrey Robinson Organization: Click2net inc. X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 3.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org Subject: restoring a system Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG NB: Not on the list, please reply directly. Hi, I'm trying to restore a FBSD 3.0 system that was backed up with dump. I backed up a test system using # dump -af backup@backupserver:/dumps/system/dumpfile /filesystem for each of the partitions. Then I deliberately trashed the system using dd if=/dev/urandom of=/dev/rwd0. Next I booted the system from CD and using sysinstall re-created the FBSD slice and made the /, /var, /usr and swap partitions exactly the same size as the original system and newfs'd them. Then I went into fixit and attempted to restore the file systems using # restore -rvyf backup@backupserver:/dumps/system/dumpfile. The root and /var file systems seemed to restore okay but when I tried to restore the /usr file system only some of the files and directories where restored. I got hundreds of errors from restore in the form: Expecting file 2890347 got 102348. After that I got a pile of missing inode errors before restore finished. When I rebooted the system it got through most of the startup but choked with several missing library errors just before the login prompt would normally come up. I've repeated the experiment twice with the same problems. I'm not sure if the problem is occurring during the dump or the restore. I've asked around but nobody I known has actually had to restore a system from a dump file. Any ideas? Thanks -- Geoffrey Robinson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message