{"id":1471,"date":"2014-02-17T01:49:20","date_gmt":"2014-02-17T01:49:20","guid":{"rendered":"http:\/\/microsoftgeek.com\/?p=1471"},"modified":"2018-09-06T23:15:59","modified_gmt":"2018-09-06T23:15:59","slug":"how-to-schedule-windows-server-backup","status":"publish","type":"post","link":"https:\/\/microsoftgeek.com\/?p=1471","title":{"rendered":"How to Schedule Windows Server Backup"},"content":{"rendered":"<p>If you are\u00a0using Windows Server Backup to backup Exchange Server then you will want to configure a scheduled back task to automate the process.<\/p>\n<p>Windows Server Backup has scheduling capabilities built in.\u00a0 You can configure a scheduled backup job by clicking on\u00a0<strong>Backup Schedule<\/strong>\u00a0in the actions pane of the Windows Server Backup console.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Creating a scheduled backup in Windows Server Backup\" alt=\"Creating a scheduled backup in Windows Server Backup\" src=\"http:\/\/exchangeserverpro.com\/wp-content\/uploads\/2010\/12\/windows-server-backup-scheduling-00.png\" width=\"300\" height=\"201\" \/><\/p>\n<p>Creating a scheduled backup in Windows Server Backup<\/p>\n<p>However you might notice that the scheduling options are limited.\u00a0 You can either perform a daily backup, or more frequent backups, but not\u00a0<em>less frequent<\/em>\u00a0backups.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Windows Server Backup scheduling options\" alt=\"Windows Server Backup scheduling options\" src=\"http:\/\/exchangeserverpro.com\/wp-content\/uploads\/2010\/12\/windows-server-backup-scheduling-01.png\" width=\"580\" height=\"500\" \/><\/p>\n<p>Windows Server Backup scheduling options<\/p>\n<p>Why would you want to create less frequent scheduled backups of an Exchange server?<\/p>\n<p>Two example scenarios are:<\/p>\n<ul>\n<li>Reducing backups to run weekly because the data is already protected by a\u00a0Database Availability Group<\/li>\n<li>Running two different backup jobs on alternating days that backup to two different devices or locations<\/li>\n<\/ul>\n<p>Fortunately you can schedule your Windows Server Backup jobs to run any time you like simply by creating the jobs manually in Task Scheduler.<\/p>\n<p>Launch Task Scheduler by searching for it in the Start Menu of the server you wish to back up.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Launch Task Scheduler\" alt=\"Launch Task Scheduler\" src=\"http:\/\/exchangeserverpro.com\/wp-content\/uploads\/2010\/12\/task-scheduler-01.png\" width=\"300\" height=\"375\" \/><\/p>\n<p>Launch Task Scheduler<\/p>\n<p>In the Actions pane click on\u00a0<strong>Create Task<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Create a new Scheduled Task\" alt=\"Create a new Scheduled Task\" src=\"http:\/\/exchangeserverpro.com\/wp-content\/uploads\/2010\/12\/task-scheduler-02.png\" width=\"298\" height=\"194\" \/><\/p>\n<p>Create a new Scheduled Task<\/p>\n<p>Give the new task a meaningful name, and then configure it to run whether the account is logged on or not.\u00a0 This allows it to run completely unattended.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Configure the scheduled task security options\" alt=\"Configure the scheduled task security options\" src=\"http:\/\/exchangeserverpro.com\/wp-content\/uploads\/2010\/12\/task-scheduler-03.png\" width=\"600\" height=\"446\" \/><\/p>\n<p>Configure the scheduled task security options<\/p>\n<p>On the Triggers tab click on the\u00a0<strong>New<\/strong>\u00a0button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Create a new trigger for the scheduled task\" alt=\"Create a new trigger for the scheduled task\" src=\"http:\/\/exchangeserverpro.com\/wp-content\/uploads\/2010\/12\/task-scheduler-04.png\" width=\"600\" height=\"446\" \/><\/p>\n<p>Create a new trigger for the scheduled task<\/p>\n<p>The trigger for this task will be the schedule you want to run your backups on.\u00a0 In this example the Exchange server will be backed up weekly on Saturdays.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Create a schedule for the backup job\" alt=\"Create a schedule for the backup job\" src=\"http:\/\/exchangeserverpro.com\/wp-content\/uploads\/2010\/12\/task-scheduler-05.png\" width=\"550\" height=\"470\" \/><\/p>\n<p>Create a schedule for the backup job<\/p>\n<p>On the Actions tab click the\u00a0<strong>New<\/strong>\u00a0button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Create a new Action for the scheduled task\" alt=\"Create a new Action for the scheduled task\" src=\"http:\/\/exchangeserverpro.com\/wp-content\/uploads\/2010\/12\/task-scheduler-06.png\" width=\"600\" height=\"446\" \/><\/p>\n<p>Create a new Action for the scheduled task<\/p>\n<p>The action for this scheduled task will be to run\u00a0<strong>wbadmin.exe<\/strong>, which is the command-line tool for managing Windows Server Backup.<\/p>\n<p>The full command being configured for the scheduled task is:<\/p>\n<pre>wbadmin start backup -backupTarget:F: -include:D:,E: -allCritical -vssfull -quiet<\/pre>\n<p>This command line performs the following:<\/p>\n<ul>\n<li><strong>start backup<\/strong>\u00a0\u2013 tells wbadmin.exe to start a backup<\/li>\n<li><strong>-backupTarget<\/strong>\u00a0\u2013 this is the target volume to store the backup on, in this case F: (no trailing backslash)<\/li>\n<li><strong>-include<\/strong>\u00a0\u2013 these are the volumes to include in the backup job, in this case D: and E: because they are the volumes with Exchange databases and transaction logs on them<\/li>\n<li><strong>-allCritical<\/strong>\u00a0\u2013 this tells Windows Server Backup to also include any other volumes or data that are required for a full server recovery, eg the System volume and SystemState. This is optional if you only want to backup the Exchange data.<\/li>\n<li><strong>-vssfull\u00a0<\/strong>&#8211; this tells Windows Server Backup to perform a full VSS backup of Exchange and truncate the transaction logs<\/li>\n<li><strong>-quiet<\/strong>\u00a0\u2013 runs the command silently with no visual interaction<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Configure the wbadmin.exe command line\" alt=\"Configure the wbadmin.exe command line\" src=\"http:\/\/exchangeserverpro.com\/wp-content\/uploads\/2010\/12\/task-scheduler-07.png\" width=\"458\" height=\"255\" \/><\/p>\n<p>Configure the wbadmin.exe command line<\/p>\n<p>You can inspect the extra conditions and settings to see if you want to configure anything else for your environment.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"The wbadmin command-line for the Exchange backup\" alt=\"The wbadmin command-line for the Exchange backup\" src=\"http:\/\/exchangeserverpro.com\/wp-content\/uploads\/2010\/12\/task-scheduler-08b.png\" width=\"600\" height=\"445\" \/><\/p>\n<p>The wbadmin command-line for the Exchange backup<\/p>\n<p>Otherwise click OK.\u00a0 You will be prompted for the password for the user account you configured to run the scheduled task (note: I recommend you use a proper service account for this and not the Administrator account).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Enter the credentials for the scheduled task\" alt=\"Enter the credentials for the scheduled task\" src=\"http:\/\/exchangeserverpro.com\/wp-content\/uploads\/2010\/12\/task-scheduler-09.png\" width=\"326\" height=\"254\" \/><\/p>\n<p>Enter the credentials for the scheduled task<\/p>\n<p>The new scheduled backup job will now appear in Task Scheduler.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Exchange backup job in Task Scheduler\" alt=\"Exchange backup job in Task Scheduler\" src=\"http:\/\/exchangeserverpro.com\/wp-content\/uploads\/2010\/12\/task-scheduler-10.png\" width=\"600\" height=\"185\" \/><\/p>\n<p>Exchange backup job in Task Scheduler<\/p>\n<p>Task scheduler will also display the last run time and result for the scheduled task.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are\u00a0using Windows Server Backup to backup Exchange Server then you will want to configure a scheduled back task to automate the process. Windows Server Backup has scheduling capabilities built in.\u00a0 You can configure a scheduled backup job by clicking on\u00a0Backup Schedule\u00a0in the actions pane of the Windows Server Backup console. Creating a scheduled [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,6],"tags":[],"class_list":["post-1471","post","type-post","status-publish","format-standard","hentry","category-exchange-2010","category-general-2008"],"_links":{"self":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1471","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1471"}],"version-history":[{"count":3,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1471\/revisions"}],"predecessor-version":[{"id":2637,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1471\/revisions\/2637"}],"wp:attachment":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1471"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1471"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}