in reply to Encrypted Dumps

You could use a compilation of either set A) Compress::Zlib and Net::SCP, to compress that data stream down, and then shoot it across the network fully encrypted, or B) Try and fight the beast which is Net::SSH::Perl. I have not successfully gotten Net::SSH::Perl to work consistantly and reliably on a Solaris box ranging from verions 2.6 -> 2.9. It also has massive dependacies. But if you do manage to get it working, its power is simply amazing.

This also depends on the size of the data you are looking back up, and what standard procedure is where you are at. A non perlish solution off the top of my head is, I believe you can create an SSH tunnel from a local port to a remote port and then allow traffic across the tunnel (havent played with the tunneling in a bit, and forget how to go about defining a tunnel securely.. I.e so random joe can't make use of it). So you could ufsdump to a local port, which will encrypt the data, forward it to the remote server and decrypt all in one fell swoop.

/* And the Creator, against his better judgement, wrote man.c */

Replies are listed 'Best First'.
Re: Encrypted Dumps (Net::SSH::Perl)
by vek (Prior) on Jan 26, 2003 at 16:43 UTC
    I needed to use Net::SFTP which needs Net::SSH::Perl as it's prereq. I managed to get it running on Solaris 2.7 and 2.8. Out of all the modules I've ever installed, this one by far had the most dependencies and was really somewhat annoying to install. Having said that, wow, the code is impressive and I agree with you l2kashe it is very powerful. Major thankies to btrott.

    -- vek --

    2006-04-22 Retitled by Corion, as per Monastery guidelines
    Original title: 'Net::SSH::Perl'

Re: Re: Encrypted Dumps
by Ryszard (Priest) on Jan 25, 2003 at 18:21 UTC
    I have not successfully gotten Net::SSH::Perl to work consistantly and reliably on a Solaris
    FYI, I've got this up and running (very reliably) on a Solaris 8, Ultra 10. I was in the unfortunate position where CPAN.pm wouldnt work (ACL's) so I had to download each dependency and install it manually. You're right about it being a beast, it really was a massive PIA, but after about 4 hours it was working...