I have been burned a couple of times overwriting a file from backup, so I
do the following.  I restore the file(s or file tree(s)) to a directory
called RESTORE.  I make sure that the user owns all of the files and then
I tell the **user** to move the files from RESTORE to where the user
thinks they ought to go.  That is the safe way and if something goes
wrong, it isn't my fault.



Jeff Silverman, sysadmin for the Research Computing Systems (RCS)
University of Washington, School of Engineering, Electrical Engineering Dept.
Box 352500, Seattle, WA, 98125-2500 FAX: (206) 221-5264 Phone (206) 221-5394
[EMAIL PROTECTED]     http://rcs.ee.washington.edu/~jeffs

On Mon, 10 Jun 2002, Jean-Louis Martineau wrote:

> On Tue, Jun 04, 2002 at 09:44:12PM -0600, Trevor Morrison wrote:
> > Hi,
> > 
> > When I do my backups I use the GNU tar  for my root-tar dumptype.  While
> > I was trying to restore a file tonight I would get the following error:
> > 
> > tar: ./trevor/trevor: Cannot open: Not a directory
> > tar: Error exit delayed form previous errors
> > extract_list - child returned non-zero status: 2
> > 
> > trevor is just regular file in my /home/trevor directory.  I first
> > changed into that directory before starting amrecover.  What am I doing
> > wrong?  TIA.
> 
> tar try to create the 'trevor' directory in /home/trevor but you already
> have a trevor file there.
> 
> You should cd to the mount point before you use amrecover.
> 
> Jean-Louis
> 
> PS. That's always a bad idea to have the same name for two different things.
> -- 
> Jean-Louis Martineau             email: [EMAIL PROTECTED] 
> Departement IRO, Universite de Montreal
> C.P. 6128, Succ. CENTRE-VILLE    Tel: (514) 343-6111 ext. 3529
> Montreal, Canada, H3C 3J7        Fax: (514) 343-5834
> 

Reply via email to