Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to automate the backup of ISS metabase. How would you go about doing this?

share|improve this question

Add a scheduled task pointing to a batch file with the following inside (IIS7):

appcmd add backup <--backupname-->

Although if setting up and administrating this kind of thing is your day-to-day job then I'd recommend investing in a book on Powershell and doing things properly (i.e. mapping network drives before hand, adding reporting, emailing the admins on failures, incrementing the backupname by date etc.).

Just noticed the ii6 tag on your post, so:

http://www.windowsitpro.com/article/windows-2000/how-can-i-back-up-the-microsoft-iis-metabase-from-the-command-line-in-windows-2000-and-later-.aspx

Luke

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.