ufsrestore accross the network


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users ufsrestore accross the network
# 1  
Old 11-29-2002
ufsrestore accross the network

I am trying to do a ufsrestore accross the network and can't quite seem to get the syntax of the command correct. The manual says its possible to do this althought the man pages seem to only refer to a dump file when mentioing the network. I have the appropriate entrles in the .rhosts file and the have moved the tape to the position where the file system I want to restore is (it's the first one). Tha syntax I am using is

ufsrestore r machine:/dev/rmt/0 (where machine is the remote hostname)

and the error I am getting is /dev/rmt/0: No such file or directory exists.

If I am doing it locally and use the command

ufsrestore r /dev/rmt/0

I get no problems at all

Any thoughts why this won't work for me
# 2  
Old 11-29-2002
apologies this is in the wrong forum ... would still appreciate the help though
# 3  
Old 11-29-2002
My guess would be a security problem. Does a command like:

remsh machine uname -a

work? If not, the ufsrestore won't work either.
# 4  
Old 11-29-2002
That command works fine.

It is finding the other remote system. My guess from the error message is that maybe it is looking for a file name as opposed to a device and that maybe I have to modify the syntax somehow.

Any thoughts let me know
# 5  
Old 11-29-2002
The syntax looks right. Here is a Sun doc that shows this syntax. The only other thing that I can think of is that the system with the tape drive needs the rmt program to access it. Could your rmt be missing?
# 6  
Old 12-02-2002
Thanks for the info.

I seem to have solved the issue using the doc you mentioned but not quite sure that it should work.

If I am on the server with the tape drive attached the command

ufsrestore r server:/dev/rmt/0

will restore the contents of the tape to a local file system on the server (even thought I know I don't have to explicitly name the server since it is local to the tape drive).

If I use the same command from the client machine it won't work and gives the errors I have outlined above. However if I change it slightly to

ufsrestore fr server:/dev/rmt/0

it seems to work fine. Thanks for the help.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Calculate percentage of a value accross m

I have 100 csv files like: file_city_1 file_city_2 file_city_3 file_city_4 City name is variable, there is 25 cities, each city has 4 region. Each of the 4 region contain some statistics like: parameter1 : number1 parameter1 : number2 ..... parameter50 : number50 ... (7 Replies)
Discussion started by: Meacham12
7 Replies

2. Shell Programming and Scripting

List and Compare Files accross different servers.

Hi all, This is my situation. First thing is I cannot use rsync to accomplish this. I don't have on my systems and we can't put it on. I run HP-UX 11v3. I have a list of files generated every day which tells me which files are not in sync with the rest of the servers.I want to ls -l the... (1 Reply)
Discussion started by: zixzix01
1 Replies

3. UNIX for Dummies Questions & Answers

run script accross machines using ssh

Hi all I have to run certain set of commands on two machines, the two machines see the same home, it's mounted from the same place. The problem is that i have to ssh to a certain machine "which is slow unfortunately" that has the license to run a tool and i want to return to the original machine... (3 Replies)
Discussion started by: amr elhosiny
3 Replies

4. Shell Programming and Scripting

Summation of Columns accross multiple files

I have around 1000 files in a directory (file1.txt, file2.txt, ... file1000.txt), each file is 2 columns, the first colums are same for all of them, second one is different. file1.txt 1 10 2 20 3 30 4 40 5 50 file2.txt 1 100 2 400 3 500 4 600 5 900 what I need is , I want... (3 Replies)
Discussion started by: scriptie
3 Replies

5. Shell Programming and Scripting

Running Sql scripts accross db2

Hi, I would be really thankful, if anyone could help me out with this,since i am very new to this shell scripting. I have 6 sql scripts that i am trying to run in unix across db2. i want the scripts to be executed as follows, script_1 should be executed first. Then... (4 Replies)
Discussion started by: jnimz
4 Replies

6. Shell Programming and Scripting

How to search accross other documents?

Could do with some help on where to get started really. If anyone could help me it would be greatly appreciated. I have been working on this for a while now and I don't really know where to start. I am looking into creating a script that will process website hit files and output statistical... (1 Reply)
Discussion started by: amatuer_lee_3
1 Replies

7. Solaris

Archive data accross solaris server

Can anyone tell me how to safely archive data across the network instead of tape in Solaris. Thanks Remi (1 Reply)
Discussion started by: Remi
1 Replies

8. Solaris

is RPC portable accross Unix and windows

Hi All, I am working on Unix(SunOS 5.8) and windows machine.My server lies on Unix machine and clinet on windows. Could you please tell me If I have created abc.x file for unix machine and have written a routine require for remote call, How do I proceed to get client code of RPC for windows... (0 Replies)
Discussion started by: navin_1234
0 Replies

9. UNIX for Dummies Questions & Answers

sharing drives accross mutiple os's

I currently have a freebsd system running that I have a couple 24/7 deamons running on. This system is system is linked via a router to a windows machine, and soon to be another machine(havent decided what os yet). What I want to do is allow my unix machine to see specific foulders on my windows... (1 Reply)
Discussion started by: droolin
1 Replies

10. UNIX for Dummies Questions & Answers

Man access accross systems

HI, Working with apps that run accross 8 AIX 4.3's Lets call them A, B,C D-H. Unfortunatly only one of them has the man pages installed, (A). My Q, is there any way that an authorized user can login into either B, C or D-H, type man at command prompt and get connected to A to view its man... (4 Replies)
Discussion started by: buRst
4 Replies
Login or Register to Ask a Question