{"id":912,"date":"2012-02-11T11:32:49","date_gmt":"2012-02-11T11:32:49","guid":{"rendered":"http:\/\/www.edwardsd.co.uk\/work\/?p=912"},"modified":"2013-01-15T16:55:50","modified_gmt":"2013-01-15T16:55:50","slug":"wbadmin","status":"publish","type":"post","link":"https:\/\/www.edwardsd.co.uk\/work\/2012\/02\/wbadmin\/","title":{"rendered":"WBAdmin | Daily Backup and Restore via Schedule"},"content":{"rendered":"<p>I&#8217;ve been working with the windows backup. One downside of this in Windows 2008 is that you can&#8217;t schedule a routine backup job to a network device. A work around is use a scheduled task and the <a title=\"WBAdmin Tool\" href=\"http:\/\/technet.microsoft.com\/en-us\/library\/cc754015%28WS.10%29.aspx\" target=\"_blank\">WBAdmin<\/a> tool.<\/p>\n<p><strong>Scheduled Task:<\/strong> (Create a scheduled task and us the following switches)<\/p>\nngg_shortcode_0_placeholder\n<pre lang=\"basic\">wbadmin start backup -backuptarget:\\\\server\\backup$\\ -vssFull -allCritical -quiet<\/pre>\n<p>This command will backup the entire drive including a system image. I don&#8217;t think the &#8220;allcritical&#8221; will work if you then specify items to exclude.<\/p>\n<p><strong>Show Backups Running:<\/strong><\/p>\n<pre lang=\"basic\">Wbadmin get status<\/pre>\n<p>Full list of switches: <a title=\"Wbadmin start backup\" href=\"http:\/\/goo.gl\/xRoO7\" target=\"_blank\">cc742083<\/a><\/p>\n<p><!--more--><strong>Windows Backup email notification when complete:<\/strong><\/p>\n<p>To improving this backup job I also created a scheduled task to email notification that the job is complete.<\/p>\n<ol>\n<li>Create new &#8220;Basic Scheduled Task&#8221;<\/li>\n<li>Name:\u00a0Windows Backup Notification | Description:\u00a0 Will send email notification when the windows backup is complete.<\/li>\n<li>Trigger: When a specific event is logged<\/li>\n<li>Log: Microsoft Windows Backup Operation | Source: Backup | EventID: 4<\/li>\n<li>Send an Email<\/li>\n<\/ol>\n<p>From: backup@mydomain.com<br \/>\nTo: alerts@mydomain.com<br \/>\nSubject: Backup Notification Complete &#8211; Windows Server Backup on Server-DC1<br \/>\nThis is an action Notification. Windows Backup is complete on Server-DC1 &#8211; EventID4<br \/>\nSMTP: mail.mydomain.com<br \/>\nChange: &#8220;Run whether user is logged in or not&#8221;<\/p>\nngg_shortcode_1_placeholder\nngg_shortcode_2_placeholder\nngg_shortcode_3_placeholder\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been working with the windows backup. One downside of this in Windows 2008 is that you can&#8217;t schedule a routine backup job to a network device. A work around is use a scheduled task and the WBAdmin tool. Scheduled Task: (Create a scheduled task and us the following switches) wbadmin start backup -backuptarget:\\\\server\\backup$\\ -vssFull [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[10,37,23,44],"tags":[],"class_list":["post-912","post","type-post","status-publish","format-standard","hentry","category-tools","category-windows-sbs2008","category-windows-server-2008","category-windows-server-2012"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/sOPt8-wbadmin","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts\/912","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/comments?post=912"}],"version-history":[{"count":0,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts\/912\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/media?parent=912"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/categories?post=912"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/tags?post=912"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}