kalmen
asked on
backup on a remote DLT drive using ssh
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/0 n /
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.
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/0
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.
See https://www.experts-exchange.com/questions/20636334/UFSDUMP.html for a solution using ssh
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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
ASKER
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?
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.