> Try dropping the leading slash from the filespec:
> 
> tar -xvf /dev/st0 home/mdw<whatever>/<somefile>
> 
> Just watch where you're sitting when you do that. I think if you check the
> listing you made with 'tar -tvf', you'll notice the leading slash is not


Ric - good advise. Just remember the difference between relative and
absolute path names. Without the leading slash, that's a relative 
pathnmae -- i.e., relative to where you are now. If you are going to
restore home, remember you must be at the top of the tree (cd /) because
'home' (or /home) is a directory off of /, and surely enough, when you
restore in /, all the filenames just fall neatly where they're supposed
to be. It's probably less error prone to backup /home/username rather than
just 'username' -- even if it means one extra directory in the paths of
all your files. 

Not remembering 'where is this data reative to where I am in the filesystem'
is easy to do, and oftentimes one ends up with /tmp/usr/bin/something or
/home/ed/ed/wheatever if in the wrong place prior to the restore -- hell
I've done it enough times :(.

It's also why I tell people to 'tvf' before they 'xvf' when using 'tar' 
:).




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to