TFS Backup – easy way to wake up computer from sleep

|  Posted: June 5, 2011  |  Categories: General Technical

I’m in the process of setting up TFS backup plan using the TFS Administration console. Setting up TFS backup plan using the administration console is so trivial, you can read Bharry’s post Backing up and restoring your TFS server for the details.

The challenge for us is, we don’t run the server in active mode all the time, the server goes to sleep after 3 hours of inactivity. If the server is sleeping our backup is not going to happen. I was looking for some options to wake up the server automatically from sleep at certain times in the night, just before our backup job kicks in. I found few options like setting the BIOS, few commercial options, and some custom coding options. In the end it turn out, there is nice little hack you can do to bring your PC alive just by scheduling a task using “Task Scheduler”

Just schedule a dummy task something like open command prompt and exit it straight away.

Ex: cmd.exe /c exit

image

Make sure you select the “Wake the computer to run this task” check box under “Conditions” tab

SNAGHTML5335e60

Now the server will wake up and ready before the TFS backup plan kick in.

Author: Saravana Kumar

Saravana Kumar is the Founder and CTO of BizTalk360, an enterprise software that acts as an all-in-one solution for better administration, operation, support and monitoring of Microsoft BizTalk Server environments.

One Platform Operations, Monitoring and Analytics Software
BizTalk360

microsoft biztalk

Learn more

Over 500 customers across 30+ countries depend on BizTalk360

ServiceBus360

Azure service bus

Learn more

Start managing your Azure Service Bus namespaces in minutes

One Platform - Operations, Monitoring and Analytics Software
BizTalk360

microsoft biztalk

Learn more

Over 500 customers across 30+ countries depend on BizTalk360

One Platform - Operations, Monitoring and Analytics Software
ServiceBus360

Azure service bus

Learn more

Start managing your Azure Service Bus namespaces in minutes

Back to Top