Advanced Windows PowerShell Scripting Video Training

Advanced Windows PowerShell Scripting Video Training
Advanced Windows PowerShell Scripting Video Training

Sunday, January 25, 2009

Question: Can you schedule a WINS backup?

By default, once you specify a backup location in the WINS MMC, Windows will backup the WINS database every 24 hours. Here is how you can back it up on a schedule.

First you need to configure WINS to do a backup when it shuts down.
• Open the WINS MMC.
• Right mouse click the server and select Properties.
• On the General tab, check Backup database during server shutdown.
• Also, specify a default backup path.

A simple batch file will do the trick.

Net Stop WINS
Net Start WINS
Exit


Use the Task Scheduler to run this at the required interval. Don’t forget to give the task the credentials to perform this task.

To maintain availability, make sure that you have 2 WINS servers and your clients knows about both servers. Configure them as Push/Pull partners. The backup only needs to be done on one server.

Class: 6421A Configuring and Troubleshooting a Windows Server 2008 Network Infrastructure

No comments: