Solved

what is the syndax for creating system state backup using  Wbadmin with scheduled daily  backup ?

Posted on 2011-03-15
7
858 Views
Last Modified: 2012-08-13
hi all

easy one i think...

 what is the syndax for creating system state backup using  Wbadmin with scheduled daily  backup on each day at 5:00 am?

lest say the location for the backup is in remote location (File server)  \\hostname\sharename
0
Comment
Question by:ymg800
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
7 Comments
 
LVL 3

Expert Comment

by:Rdsterling
ID: 35137429
You cannot backup to a network drive directly using wbadmin. Use wbadmin start systemstatebackup
to backup to a volume. Then you'd have to create another scheduled task to copy the backup to your network drive.  See here for more details http://technet.microsoft.com/en-us/library/cc742124(WS.10).aspx
0
 

Author Comment

by:ymg800
ID: 35144998
so i used:

wbadmin start systemstatebackup -backupTarget:d:

1.this put the copy under drive D:WindowsImageBackup\servername, right?

2. it's prompt me with a question if yes or no..., can i automate the answer to yes to run it as a script?

3. next step is to use bath file and use the "move" command and them go to scheduel task in windows to time it every day to run this  bath?

thx.
0
 
LVL 3

Expert Comment

by:Rdsterling
ID: 35149035
use the -quiet switch at the end, so wbadmin start systemstatebackup -backupTarget:d: -quiet
0
 

Author Comment

by:ymg800
ID: 35224927
how can i run this command daily?
0
 
LVL 3

Accepted Solution

by:
Rdsterling earned 500 total points
ID: 35265771
Setup a Scheduled Task in Task Scheduler.

Create your batch file (for this example we'll call it backup.cmd) containing the lines

wbadmin start systemstatebackup -backupTarget:d: -quiet
xcopy /s D:\WindowsImageBackup\servername \\severname\share

where servername is the name of your server and share is the name of the share name on the server
Save the batch file to a folder. For this example we'll call the folder scripts.

Open Task Scheduler and run through the Task Scheduler wizard to create a new Scheduled Task pointing to the batch file. Set it to run Daily.

Look here for more information on Task Scheduler 2.0 in Windows 2008.

http://msdn.microsoft.com/en-us/library/bb756979.aspx
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This article is in regards to the Cisco QSFP-4SFP10G-CU1M cables, which are designed to uplink/downlink 40GB ports to 10GB SFP ports. I recently experienced this and found very little configuration documentation on how these are supposed to be confi…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

624 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