WBAdmin Bare-Metal BackupBy Dag, on December 30th, 2016
Batch script for backing up to a network share.
Run taskschd.msc to set up a schedule for it.
@ECHO OFF MODE CON:COLS=50 LINES=10 TITLE MyPC Backup COLOR 17 ECHO. ECHO SCHEDULED BACKUP OF SYSTEM DRIVE ECHO ================================ ECHO C:\BATs\BareMetalBackup.bat ECHO. SET WBTARGET=\MyServer\Intrashare\MyPC-Backup\ SET WBTXTLOG=\MyServer\Intrashare\MyPC-Backup\log.txt WBADMIN START BACKUP -backupTarget:%WBTARGET% -user:DJ -password:MyPassword -allCritical -quiet > %WBTXTLOG%
Updated February 2017
The reason I started this article with a batch script using wbadmin.exe is that I found I could not use wbadmin.msc because it wanted me to do a backup at least once a day, while I only wanted one every week. However(!) I've found that you can just go ahead and create one, and just use taskschd.msc afterwards to adjust the timing! Under
Microsoft » Windows » Backup. The GUI of wbadmin will still say it's daily, but it's not. It will however correctly report successful backups at the actual times you edit in task manager. :)