Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jun 1999 17:31:24 -0400
From:      Geoffrey Robinson <geoff@click2net.com>
To:        questions@freebsd.org
Subject:   restoring a system
Message-ID:  <375845AC.DD801B4B@click2net.com>

next in thread | raw e-mail | index | archive | help
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




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