• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 833
  • Last Modified:

Trying to schedule Windows Server Backups for Server 2008 R2

Hi, I am trying to set scheduled backups for Windows Server Backup on Server 2008 R2 systems.  

I found these documents,

http://exchangeserverpro.com/schedule-windows-server-backup-exchange-2010

http://technet.microsoft.com/en-us/library/dd834883

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.
0
rsnellman
Asked:
rsnellman
  • 2
2 Solutions
 
Svet PaperovIT ManagerCommented:
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.
0
 
rsnellmanAuthor Commented:
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 "


Thanks.
0
 
Svet PaperovIT ManagerCommented:
You need to specify -user and -password parameters in wbadmin line.

http://technet.microsoft.com/en-us/library/cc742083%28WS.10%29.aspx
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now