03-23-2010
Not sure if you are looking to just put a dump file on 2nd server, or re-create the FS on second server:
To dump to server 2 - you may need to put a /.rhost file on the servers or /etc/host.equiv and/or /etc/host.allow (see the ufsdump, rsh and rlogin man pages)
Server1> ufsdump 0fu Server2:/mydirectory/myfileonS2 /myfileonS1
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to try using Ufsdump for backups .
The man pages state that the file systems should be inactive or be in the unmounted state .
But for that system should be in single User mode.
My query is that can we perform Ufsdump in run-level 3 ?
And if no should I have to reboot it in Single user... (3 Replies)
Discussion started by: DPAI
3 Replies
2. UNIX for Dummies Questions & Answers
hi
i would like to backup my OS
what is the exact command to do?
beside backup to tapes can i back up to a directory in another server?
will the command be the same?
thanks. :confused: (4 Replies)
Discussion started by: legato
4 Replies
3. UNIX for Advanced & Expert Users
Hi,
I have two solaris 9 boxes:
SunOS bmsapp01 5.9 Generic_118558-06 sun4u sparc SUNW,Sun-Fire-V440
and
SunOS bmsdb01 5.9 Generic_118558-06 sun4u sparc SUNW,Sun-Fire-V440.
The bmsapp01 server has a SDLT tape drive attached to it. I am trying to perform a remote ufsdump to the tape drive on... (5 Replies)
Discussion started by: jabberwocky
5 Replies
4. Solaris
Hi,
I want to how to take backup of File system From Disk to Disk using ufsdump?
Wheather we can take the backup of root file system from one disk to another if tape drive is not available? wheather it is reliable to restore root file system? (2 Replies)
Discussion started by: manoj.solaris
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I have 5 soraris boxes and i am trying to backup all to SAN.Which backup is more suitable tar or ufsdump? Also pls mention what are the important folders i need to back up.
Thanks (3 Replies)
Discussion started by: solaris5.10
3 Replies
6. Solaris
Hello,
how can I use ufsdump utility for filesystem backup to a remote directory on a server dedicated for backups ( over network) ?? (3 Replies)
Discussion started by: mm00123
3 Replies
7. Solaris
Hi Unix members.
I am trying to make a backup to remote mounted filesystems :
fileraseing:/vol/oracliente_revap01
10G 1.3G 8.7G 13% /orarev_ap01
fileraseing:/vol/bobje
10G 5.9G 4.1G 60% /bobje
But I am receiving the follow message when use the ufsdump command:
:$PWD>ufsdump 0fu... (8 Replies)
Discussion started by: aggadtech08
8 Replies
8. Solaris
Is there a way to backup a single directory with ufsdump, or is tar better for that? (1 Reply)
Discussion started by: orange47
1 Replies
9. Solaris
Experts,
Before patching am advised to take backup :
so am going with:
ufsdump -0uf /dev/rmt0 / ---> to take the whole / bkp to tape.
some servers have /var in diff slice, In this case whether i need to take backup of /var also in tape?
ufsdump -ouf /dev/rmt0 /var ---> to take... (3 Replies)
Discussion started by: fizan
3 Replies
10. Solaris
Hi all,
I have a Solaris 10 running on a M4000.
I wanted to migrate it to M10
q1) can I do a ufsdump on / in the m4000 and restore it on the m10 ?
q2) how do we ufsrestore on the naked M10 without any OS being install/running in the 1st place ?
q3) if the answer to the... (5 Replies)
Discussion started by: javanoob
5 Replies
RSH(1) BSD General Commands Manual RSH(1)
NAME
rsh -- remote shell
SYNOPSIS
rsh [-46dn] [-l username] [-p port] host [command]
rsh [-46dn] [-p port] username@host [command]
DESCRIPTION
rsh executes command on host.
rsh 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 termi-
nates when the remote command does. The options are as follows:
-4 Use IPv4 addresses only.
-6 Use IPv6 addresses only.
-d The -d option turns on socket debugging (using setsockopt(2)) on the TCP sockets used for communication with the remote host.
-l username By default, the remote username is the same as the local username. The -l option or the username@host format allow the remote
name to be specified.
-n The -n option redirects input from the special device /dev/null (see the BUGS section of this manual page).
-p port Uses the given port instead of the one assigned to the service ``shell''. May be given either as symbolic name or as number.
If no command is given, note that rlogin(1) is started, which may need a different daemon (rlogind(8) instead of rshd(8)) run-
ning on the server; you want to pass the rshd(8) port number in that case.
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
rcmd(1), rlogin(1), rcmd(3), hosts.equiv(5), rhosts(5), environ(7)
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 rogue(6) 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
March 9, 2005 BSD