You need to configure NFS Server / client
Otherwise you can tar over rsh and vice versa
First, here is how to archive files from the local machine (example) to a tape on a remote system (host):
here is how to use tar to get files from a tape on the remote system back to the local system:
I am currently using tar to backup a server that has 9gb of data.
This is fine and works fine, as part of this I send the backup to a remote tape on a remote server using rsh..
This is not very secure though is it?
Whats the best idea here - is there another way I should do this to be more... (1 Reply)
Hi,
Would appreciate if anyone could tell me if it is possible to mount (and use) a remote tape drive on a AIX server, and if so, what are the precise configuration steps needed?
The tape drive to be mounted as a remote tape drive is present on another AIX server in the same network.
... (0 Replies)
Hi,
Would appreciate if anyone could tell me if it is possible to mount (and use) a remote tape drive on a AIX server, and if so, what are the precise configuration steps needed?
The tape drive to be mounted as a remote tape drive is present on another AIX server in the same network.
... (5 Replies)
hello guys,
am trying to save a file file1 to a remote tape drive using tar and i get a permission denied error as shown below:
server1%tar cvf - file1 | rsh server2 dd of=/dev/rmt/1m conv=sync
a file1 1883905K
permission denied
since server2 requires login username and password, i see in... (3 Replies)
Server 1 - Sun Solaris 5.8 sparc SUNW,Sun-Fire-480R with attached DLT tape drive /dev/rmt/0n
Server 2 - Old DG-UX box which has restore command on it compatible with the files on the backyup tape - backed up with dump2
Server 3 - Sun solaris 5.9 sparc SUNW,Sun-Fire-V490 with lots of free space... (4 Replies)
We have 2 UNIX machines,
1.HP-UX 11i where oracle database running on it.
2.AIX 5 with Ultrium LTO3 tape drive connected.
My query is, i want to send oracle database archive files from HP machine to the tape drive which connected on AIX machine, everyday.
These files should be appended.
I... (3 Replies)
Hello all,
I'm trying to backup some files on a solaris 10 machine to the remote tape drive connected to another solaris 10 machine.
I have set up rsh to allow for password-less connection between the servers, but I'm not able to write to the tape with the command:
root@sdp4a>tar cvf... (1 Reply)
Hello everyone.
I googled a little bit, and the best anwers i had were found in this forum. But , unfortunately, they couldn't give me a solution. So i decided to ask the question completely.
I have two servers:
One RHEL 5 , x64 , with a SCSI DAT72 Tape Drive.
Another (the new one), with... (0 Replies)
Discussion started by: pablobhz
0 Replies
LEARN ABOUT FREEBSD
rsh
RSH(1) BSD General Commands Manual RSH(1)NAME
rsh -- remote shell
SYNOPSIS
rsh [-46dn] [-l username] [-t timeout] host [command]
DESCRIPTION
The rsh utility executes command on host.
The rsh utility copies its standard input to the remote command, the standard output of the remote command to its standard output, and the
standard error of the remote command to its standard error. Interrupt, quit and terminate signals are propagated to the remote command; rsh
normally terminates when the remote command does. The options are as follows:
-4 Use IPv4 addresses only.
-6 Use IPv6 addresses only.
-d Turn on socket debugging (using setsockopt(2)) on the TCP sockets used for communication with the remote host.
-l username
Allow the remote username to be specified. By default, the remote username is the same as the local username. Authorization is deter-
mined as in rlogin(1).
-n Redirect input from the special device /dev/null (see the BUGS section of this manual page).
-t timeout
Allow a timeout to be specified (in seconds). If no data is sent or received in this time, rsh will exit.
If no command is specified, you will be logged in on the remote host using rlogin(1).
Shell metacharacters which are not quoted are interpreted on local machine, while quoted metacharacters are interpreted on the remote
machine. For example, the command
rsh otherhost cat remotefile >> localfile
appends the remote file remotefile to the local file localfile, while
rsh otherhost cat remotefile ">>" other_remotefile
appends remotefile to other_remotefile.
FILES
/etc/hosts
SEE ALSO rlogin(1), setsockopt(2), rcmd(3), ruserok(3), hosts(5), hosts.equiv(5), rlogind(8), rshd(8)HISTORY
The rsh command appeared in 4.2BSD.
BUGS
If you are using csh(1) and put a rsh in the background without redirecting its input away from the terminal, it will block even if no reads
are posted by the remote command. If no input is desired you should redirect the input of rsh to /dev/null using the -n option.
You cannot run an interactive command (like ee(1) or vi(1)) using rsh; use rlogin(1) instead.
Stop signals stop the local rsh process only; this is arguably wrong, but currently hard to fix for reasons too complicated to explain here.
BSD October 16, 2002 BSD