*BSD News Article 93866


Return to BSD News archive

#! rnews 1602 bsd
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.maxwell.syr.edu!newsfeed2.aimnet.com!news.walltech.com!news.ecis.com!news.vaultline.net!news.interbahn.net!205.215.226.130
From: "pete helme" <pete@ebay.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: using 'restore' to  restore one file
Date: Fri, 18 Apr 1997 14:41:18 -0700
Organization: VAULTLINE, Inc.
Lines: 20
Message-ID: <3357eae0.0@news.interbahn.net>
NNTP-Posting-Host: 206.152.53.26
X-Newsreader: Microsoft Outlook Express 4.71.0544.0
X-MimeOLE: Produced By Microsoft MimeOLE Engine V4.71.0544.0
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39306


I know this is a silly question, but I want to make sure "restore" will do
what I think it's supposed to do before I try it and end up deleteing the
wrong files. Can 'restore' restore as little as one file or only a whole
directory? Reading the man page it makes it sound like it'll try to put
back all the files in a certain directory no matter what option you give
it. It's not very clear (at least to me ;) ). I think I have to use the "h"
key but when I actually start the extraction it tells me "warning xxx
directory already exists" when I'm trying to restore only a file that
exists in that directory, not that directory itself. I canceled the
operation because there are files in that directory I don't want restored.
Should I just ignore the warnings?

Can somone give me an example of how to restore one file from a "dump"
backup?

thanks!

pete@ebay.com