« Intro to Upcoming SharePoint (Mike Fitzmaurice) | Main | New operations in STSADM.EXE for WSSv3 »

SPS Backup Scripts - Next Version

I’ve just added my SharePoint Portal Server backup script to version control and started work on the next version. I’m planning on releasing one for Windows SharePoint Services as well.

I’ve grown tired of managing the batch script and want to switch to another scripting language. I’ve attempted to re-write it in VBScript, but I actually dislike VBScript more than plain ‘ol batch. Monad has been on my mind for a long time, but I won’t be able to target that for a while yet, seeing as it’s not even released.

Of course, the ideal would be to write it in Ruby, but that’s not even remotely possible right? Well… There’s this tool called rubyscript2exe that’ll take a .rb file and turn it into a stand-alone .exe. The cool thing is that it’ll look at your Ruby script and find all the dependencies and bundle those into the .exe. It doesn’t need to pack in the entire Ruby library — just what you use.

Initial testing has been positive so far with just a couple of base library packages. I’ve just installed the Win32-EventLog library so I can test how it handles non-standard modules.

Here’s hoping that I can go forward using Ruby. :)

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)