Solved

PowerShell to backup Window 2012R2 server

Posted on 2014-07-18
1
457 Views
Last Modified: 2014-08-04
Is it possible to write two power script such that one script will do a full backup on weekend and the other will  do the differential backup. Both script will send out an email.
0
Comment
Question by:AXISHK
1 Comment
 
LVL 17

Accepted Solution

by:
Mike T earned 500 total points
ID: 40206254
Hi,

Since you're asking the question I guess you're not a scripter. It is possible, but not a good idea unless you have a superb reason.

The best solution is to use the Windows Backup feature in Server, which has a command line feature, using wbadmin.

See http://technet.microsoft.com/en-gb/library/cc732081.aspx for details.
In 2012 wbadmin also has PowerShell via the snapin.

For the email notification you can use the PowerShell cmdlet  Send-MailMessage. Combining all three: wbadmin + PowerShell snapin + PowerShell  Send-MailMessage will meet your needs.

Mike
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous 24 VMware Articles (http://www.experts-exchange.com/ARTH_1864316.html?arthOrderBy=3&arthSort=1#arth), most featured Intermediate VMware Topics. My next series of articles concentrated on topics for the VMware Novice;   If you would…
Recently, I was assigned the task of performing a hardware refresh in the datacenter. The previous Windows 2008 systems were connected to the SAN via fiber channel HBA’s and among other thing, had PowerPath installed in order to provide sufficient f…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now