usfrestore


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers usfrestore
# 1  
Old 05-14-2002
Question usfrestore

Hi,

Can anyone help is it poss to ufsrestore a single file from a whole system file dump. I know this can be done interactivlely but can this be done without user intervention. Every time I run the command it comes up with entering a volume No. so askes me for input. I want ot be able to run this as a test restore cron job.( the whole dump fits onto 1 tape) or it restores the whole filesystem.

Thanks for your help in advance.
# 2  
Old 05-15-2002
You may have already done this, but check the manpage for ufsrestore.

Here is the manpage. I believe that the option x filename will give you what you need.

http://medan.math.ias.edu/cgi-bin/man-cgi?ufsrestore+1


Smilie
# 3  
Old 05-16-2002
Thanks Kelam Magnus,

Tried all sorts but still can't get it to work. It either tries to restore the whloe file system or askes me for a volume number. Such is life I guess.

Thanks for answering.

Jonathan.

(Doing Unix admin for a whole 3 weeks now!) ;-)
# 4  
Old 05-16-2002
I think that you can use the -t option to list a table of the tape contents.

Try that and get the full path to the file. Then use the full path after the -x option.

You may try and use the search option on this site to search for other ufsrestore questions. I am sure there are many.


Smilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. Solaris

Using usfdump and usfrestore commands

I need to rlogin to a remote server, execute a usfdump to copy all its files to a 8mm cartridge tape. Take that tape to a local server room and execute a usfrestore to load all the files to the back-up server. The back-up server must also be formatted to look identical to the remote server. ... (1 Reply)
Discussion started by: davels
1 Replies
Login or Register to Ask a Question