> You might want to back up your web server configuration also

For IIS6, here is the batch file we use to perform a scheduled backup of the
metabase as well as an XML export.  Hopefully it can benefit anyone else out
there who isn't backing up their metabase regularly.  (Note: gf-bigmama is a
file server which holds our initial backups before they get shipped
off-site, so replace that with a path you're comfortable with)

@echo off
md \\gf-bigmama\metabases\%computername%
cd %SystemRoot%\system32
cscript.exe iisback.vbs /backup /b SchedBackup /v 0 /overwrite
del \\gf-bigmama\metabases\%computername%\%computername%.xml
cscript iiscnfg.vbs /export /f
\\gf-bigmama\metabases\%computername%\%computername%.xml /sp /lm /inherited
/children
MOVE %SystemRoot%\system32\inetsrv\MetaBack\SchedBackup.*
\\gf-bigmama\metabases\%computername%


My understanding for IIS7 is that any configuration changes made to a site
are written to web.config in the site's root folder, so backing up that file
along with the rest of the site brings its settings along with it.  I'm not
familiar with where IIS7 stores its actual site listing though, I'm fairly
certain they did away with the metabase itself though.  I suspect there's
some XML file hanging out somewhere that would just need to be copied.


-Justin



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338119
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to