Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Good day y'all,

I've been reviewing our web server backup plan and I've realized that while we do tape backups and have boot/root disks, there's a fair amount of work to be done to restore all the perl modules I've installed.

The contingency for our server getting cracked has been to unplug the network cable, take a snap shot of the box's system for forensic evidence (we also have tripwire installed), reformat the entire hard drive and reinstall RedHat. Then I'd have to reinstall all the Perl modules I need and test them and sheeesh, it gets rather manually intensive at this point.

My question is, is there a script written or could I develop a script to automate most of this? It would be great to have a perl script that would reinstall all the modules (yes I know how to MCPAN) and do other system tasks preparing the box for use again. I've got a three page list of commands I need to run in order to be back to where I was.

Does anyone have an idea of where I should start? (If you want to RTFM me, please tell me which M you're talking about)

I think it would be great to have such a program. If one doesn't exist, it might be good to create one and share it. Would save a lot of time after HD crashes and getting cracked. This might be the one utility even Batman didn't have in his utility belt!


In reply to Using Perl to help backup Linux server by peppiv

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2021-06-25 12:54 GMT
Find Nodes?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)

    Results (136 votes). Check out past polls.