Trying to schedule Windows Server Backups for Server 2008 R2

Posted on 2012-09-11
Last Modified: 2012-09-18
Hi, I am trying to set scheduled backups for Windows Server Backup on Server 2008 R2 systems.  

I found these documents,

But for some reason the backups don't kick off as scheduled.  I have them pointing to a mapped drive which is a NAS.  I can do a manual backup to the NAS within the WSB app on the servers just fine, but for whatever reason I cannot get them to automate.

I am setting this up within the Task Scheduler UI.  Should I be doing this within the command line or is there something else wrong?

Anyone have ideas or suggestions?

Thanks in advance.
Question by:rsnellman
    LVL 20

    Assisted Solution

    by:Svet Paperov
    To schedule a backup via Task Scheduler you need to use wbadmin to do the backup.

    I will write the correct backup command in a bat or ps file and call that file from the Task Scheduler. You will have to pay attention on the user accounts used in the Task Scheduler and in the wbadmin command line: the account that calls the script must have sufficient user rights to execute it and the account in the wbadmin must have write user right on the network folder.

    Author Comment

    OK.  I am using an account that has write access to the network share on the NAS.

    I am using the following command via Task Scheduler UI:  wbadmin.exe start backup -backupTarget:Z: -Include:D: -allCritical -vssfull -quiet

    Am I missing something?  Not sure why it won't start.  I cannot find anything in the Event Logs about warnings or errors or anything about the backup.

    Also, I would like to have it send results to a log file, probably a .txt file would be fine, right?  How would I do that?

    Would this work:  wbadmin.exe start backup -backupTarget:Z: -Include:D: -allCritical -vssfull -quiet  >> C:\BKUPLogs\backupLogs.txt "

    LVL 20

    Accepted Solution

    You need to specify -user and -password parameters in wbadmin line.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Promote certifications in your email signature

    Has your company recently won an award or achieved a certification? They'll no doubt want to show it off. Email signature images used to promote certifications & awards can instantly establish credibility with a recipient and provide you with numerous benefits.

    New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
    The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
    To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
    This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

    759 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

    11 Experts available now in Live!

    Get 1:1 Help Now