?
Solved

backup on a remote DLT drive using ssh

Posted on 2004-10-02
5
Medium Priority
?
395 Views
Last Modified: 2013-12-27
Hi All,

I have two solaris machines. One of them has a backup drive attached to it, and I take backup of the other machine using ufsdump like this:
ufsdump 0ucf 111.111.111.111:/dev/rmt/0n /
And on the remote host, I've allowed my host to connect without a password in the .rhosts file. Which is not secure.

How can I do this implementation using SSH? I think using scp, but i'm not aware of the details.

Thanks.
0
Comment
Question by:kalmen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 21

Expert Comment

by:tfewster
ID: 12211328
0
 
LVL 21

Assisted Solution

by:tfewster
tfewster earned 400 total points
ID: 12211344
P.S. Do you already have ssh set up to work without passwords?

I think the direct ssh replacement for your existing command would be:
ufsdump 0ucf - / | ssh 111.111.111.111 "dd of=/dev/rmt/0n"
0
 
LVL 38

Expert Comment

by:yuzh
ID: 12214073
Use:

ufsdump 0ucf - / | ssh root@111.111.111.111 "dd of=/dev/rmt/0n"

you might endup have to use "dd of=/dev/rmt/0n obs=128b", it depands on your
network connetions.

also see:
http:Q_20173314.html
0
 
LVL 1

Author Comment

by:kalmen
ID: 12214690
Thank you both.
Now, I come to an interesting question. How can I set up ssh to work without passwords? Do I install my key at the remote server's trusted keys?

0
 
LVL 38

Accepted Solution

by:
yuzh earned 1600 total points
ID: 12214735
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month13 days, 2 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question