You may have an old version, and I will be not doing further development
on SPSiteManager, see my blog for reasons why.
As for a "Slimmed" down simple site Locking Backup tool for V2. I have
the code ready, just need to find the time to finish testing it before
releasing.
Seems to be working perfectly in my tests, but I don't like posting code
that I have not had the chance to test thoroughly
Once it's done, I'll be posting it on my blog.
The cool thing in V3 is, that there is a STSADM extension to lock sites
now before a backup, so that means a shell script would simply call
STSADM -o setsitelock -url http://server/sites/site1 -lock noaccess
STSADM -o backup -url http://server/sites/site1 -filename site1.bak
<http://server/sites/site1%20-filename%20site1.bak> -overwrite
STSADM -o setsitelock -url http://server/sites/site1 -lock none
You could get creative too, and call STSADM -o getsitelock -url
http://server/sites/site1 and persist the XML that's written to the
console to get the sites "Current' lock status (In case it's something
other than "none" and reset it back to that, but that would then be more
than three simple calls.
I was thinking that there would not be a need for a V3 version of this
SiteLockBackup tool I have, but perhaps to make it even easier, I may
look at converting the V2 version of it to V3 afterwards...dunno at this
time