Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Disaster Recovery

by jarthda (Acolyte)
on Dec 12, 2007 at 19:53 UTC ( #656698=perlquestion: print w/replies, xml ) Need Help??

jarthda has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks, I am a novice Perl programmer (mostly a database developer but Perl lets me do so many cool data loading operations. I love it. I have set up an environment on windows using active state 5.8.8.817 on windows 2003 server. I have a series of ppm modules installed and do various data loading operations with Perl scripts I've converted to services using Active State Perl Dev Kit. Now I need to create an environment restore document for disaster recovery. My question: Is there a way to install Active State Perl with a series of modules all at once or must the DR person use ppm to query and install each module? I really have very little experience with ppm and how to store files for installing using ppm. Any help or guidance is much appreciated. Thank You

Replies are listed 'Best First'.
Re: Disaster Recovery
by moklevat (Priest) on Dec 12, 2007 at 21:01 UTC
    You can use a batch file or (shockers) a perl script to automate your ppm tasks. The simplest batch approach might be a series of lines like:

    ppm install YAML

    If you want to get really fancy, you can set up your own ppm repository.

Re: Disaster Recovery
by nimdokk (Vicar) on Dec 13, 2007 at 13:24 UTC
    What you could do would be to set up your own PPM repository and make sure that it is on your DR tape along with the latest Perl install you want used. Then your DR instructions could simply include: 1) install Perl, 2) install Perl Modules from PPM repository (with explicit directions on how to do this). You might even be able to build this all into an EXE that will simply install Perl and all the modules required (though if you add modules, you will need to update the EXE every time).
Re: Disaster Recovery
by bdimych (Monk) on Dec 13, 2007 at 09:26 UTC
    I am not sure, but as I remember, Perl Dev Kit allows to include all used modules into a final ".exe" file and such files are not require Perl itself.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://656698]
Approved by Argel
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2021-04-21 04:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?