I've been sitting on an automated SharePoint Portal Server backup script for a while, considering whether or not I'd release it to the community. The problem was that I wasn't happy with the amount of error trapping that it was doing.
I finally took a few hours over the last few days to polish the scripts to the point that they do a pretty decent level of error trapping and logging, including e-mailing the results of the log file, and adding appropriate entries to the event log.
This script will backup:
- The portal using the SPSBackup utility
- The IIS Metabase
- The computer's System State using NTBackup
- Template and Config, Inetpub, log, and other miscellaneous files not backed up by SPSBackup
If you know batch scripting, it should be clean enough for you to extend. I'll also be creating a version just for backing up WSS servers.
You can download
here.
You can view the
README file, or take a quick peek at the
script before you download it.
Please see the license in the script file before you put it to use on your production servers. While I've used the essence of the script in many configurations, including a server farm environment, the new error trapping additions haven't been heavily tested yet. So use at your own risk.
Still, I hope that the SharePoint community will find this helpful.