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 */
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.