[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

backup on a remote DLT drive using ssh

Posted on 2004-10-02
5
Medium Priority
?
398 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating 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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

656 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