How to launch Windows Home Server or Server Essentials to backup on demand

To run a backup on-demand and not need to go via the WHS or Server Essentials Launchpad 2008R2 or Server Essentials 2012 R2 launch pad, and use the start backup button, just create a shortcut with the following:

"C:\Program Files\Windows Server\Bin\runtask.exe"
 /asm:"C:\Program Files\Windows Server\Bin\BackupClientProvider.dll"
 /class:Microsoft.WindowsServerSolutions.DataProtection.PCBackup.ObjectModel.PCBackupClientManager
 /method:DoScheduledBackup /task:"Backup"

you may want to add start minimized to get it out of the way, otherwise when you run this shortcut, a backup will be launched (or queued, if server busy with someone else)

BTW copy all above lines, remove line breaks (leave spaces), so that it is all one long command line

Advertisements